![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Jun 2005
Posts: 34
Rep Power: 0
![]() |
Classpath Issues
I'm using UltraEdit32 to compile and run my Java applications.
See this thread for info on how the issue loooks like. As you will see, I managed to resolve the issue successfully. Now, I updated to Java 1.5 Update 4 when it came out, and honestly, I have no idea why. There was no reason for me to do so Now I keep getting the following error when I try to compile in UE32: "'C:\Program' is not recognized as an internal or external command, operable program or batch file." This usually indicates that quotation marks are missing somewhere. But they're not. This is what I have in my command-line for the custom tool command in UE32: "C:\Program Files\Java\jdk1.5.0_04\bin\javac.exe" "%f" This worked perfectly fine before I updated to this latest Java JDK. Now it's broken and I'm getting the above error. Now, look at the screenshot. That's the complete list of my system environment variables. The content of the variable "Path" is the following: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Java\jdk1.5.0_04\bin; (That odd random space in "System" is not actually defined that way. The word "system" here appears normally, but for some reason, when I paste it in here, it prints with that space in it :/) If I remember correctly, this used to work just fine before I updated to Java update 4. Of course I changed the "3" to a "4" where applicable. Can anyone tell me what's going on? I also restarted the system in the hopes that that might do something, but it didn't. I have no idea how to fix this. Also, when I run the javac and java commands using the old fashioned way, namely straight from command prompt, it works just fine. I just have to be in the folder where my class resides, compile, (works), and run, (works too). Thanks |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2005
Location: Amittyville
Posts: 60
Rep Power: 4
![]() |
Do you have your classpath variable set to: C:\Program Files\Java\jdk1.5.0_04\lib
The classpath variable may not exist if it doesn't create it and set: C:\Program Files\Java\jdk1.5.0_04\lib as the value
__________________
I steal hippos... |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Jun 2005
Posts: 34
Rep Power: 0
![]() |
Given the info above... what do you mean? I put a screenshot up of ALL the values there are in my system's environment variables, so I'm not sure what you mean.
|
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jun 2005
Location: Amittyville
Posts: 60
Rep Power: 4
![]() |
You need to click the button: new then name the new variable classpath and set its value to: C:\Program Files\Java\jdk1.5.0_04\lib
its another environment var you need, try it out, it just might work
__________________
I steal hippos... |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Jun 2005
Posts: 34
Rep Power: 0
![]() |
Didn't do anything. I think this is an UltraEdit32 problem, not a Java problem. Bleh
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|