 |
|
Richard Bruns
|
|
NC, USA
Nov 1999 time: 06:30
|
|
Every time I try, it pretends that it has saved the changes, but it really hasn't. If I close the command prompt and open it again, I get the original path. This happened even when I tried overwriting the path rather than appending it. It is almost like something is always rewriting the path, no matter what I do. Needless to say, I can't run any java classes from batch files or the command prompt until this is fixed. Does anyone know what to do here? Thanks.
Attachment: java-mess.jpg
This has been downloaded 46 time(s).
|
|
|  |
 |
|
Richard Bruns
|
|
NC, USA
Nov 1999 time: 06:30
|
|
Thanks guys. I wiped out a couple of the Oracle paths and it saved the new path. Unfortunately, that did not solve the central problem. While I can run things through an IDE, I still cannot run anything from the command prompt or a batch file. It gives me the same error as before. I made sure that the path is right, and I can't figure out what else it might be.
Attachment: still busted.jpg
This has been downloaded 32 time(s).
|
|
|  |
 |
|
Richard Bruns
|
|
NC, USA
Nov 1999 time: 06:30
|
|
There is a java.exe program in the C:\j2sdk1.4.2_01\bin folder. I got all of this to work in about 15 minutes in the computer lab, and we had to set the path manually on those computers too. What else might I need to put in the path?
|
|
|  |
 |
|
Richard Bruns
|
|
NC, USA
Nov 1999 time: 06:30
|
|
The java command interprets any period as a command to look in a subfolder. Asking to run "Psychiatrist.class" made it look for a class named "class" in a "Psychiatrist" folder. In all the labs and batch files I've seen, the .class extension is never typed.
|
|
|  |
 |
|
Richard Bruns
|
|
NC, USA
Nov 1999 time: 06:30
|
|
Clobbering the classpath worked. I changed it permanently in the Control panel, and now everything works right. I have no clue how the classpath got changed before. Thanks.
|
|
|  |
All times are GMT. The time now is 05:30. Apolyton Time is 00:30. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|