javac what in the wierd

Hi all

I have setup the jdk 1.5_04 to the following location c:\Program Files\Java\jdk1.5_05 and I have setup the system environment variable to contain the following path

c:\Program Files\Java\jdk1.5_05\bin

when I run the javac program, a error is returned saying that the javac program is not a recognized program. But I can most certainly run java.exe no problems. I am running win xp home and I am losing my hair over this

Thanks in advance

Danny

[487 byte] By [Dannya] at [2007-10-2 11:44:34]
# 1
You don't need to set any environment variable (which one did you set to what?).
MartinHilperta at 2007-7-13 5:45:25 > top of Java-index,Developer Tools,Java Compiler...
# 2
I set the CLASSPATH to C:\Program Files\Java\JDK1.5.0_04\bin\ and I set that under the system variable sectionThanksDanny
Dannya at 2007-7-13 5:45:25 > top of Java-index,Developer Tools,Java Compiler...
# 3
The original post mentions 2 versions - 04 and 05, maybe you have parts of 2 Java versions installed and need to clean things up.
ChuckBinga at 2007-7-13 5:45:25 > top of Java-index,Developer Tools,Java Compiler...
# 4
Sorry but I only have one version installed the 1.5_04Danny
Dannya at 2007-7-13 5:45:25 > top of Java-index,Developer Tools,Java Compiler...
# 5
> I set the CLASSPATH to C:\Program> Files\Java\JDK1.5.0_04\bin\ and I set that under the> system variable sectionYou need to include that in the PATH, not the CLASSPATH.
tschodta at 2007-7-13 5:45:25 > top of Java-index,Developer Tools,Java Compiler...
# 6
Thanks for your help I also had to set the path under the user variablesThanksDanny
Dannya at 2007-7-13 5:45:25 > top of Java-index,Developer Tools,Java Compiler...