Forums Register Login

Environment Variables for j2sdk1.4.0 & j2re1.4.0-rc

+Pie Number of slices to send: Send
Help!
I am trying to setup my classpath and path environment variables on Windows XP.
The sdk is found at C:\j2sdk1.4.0
The jre is found at C:\j2sdk1.4.0\j2re1.4.0-rc
My environment variables (I get to them by navigating to start->control panel -> performance maintenance -> system -> advanced -> environment variables) look like this.
My CLASSPATH is defined under both user variables and system variables and looks like this:
%CLASSPATH%;.;C:\j2sdk1.4.0\j2re1.4.0-rc\lib\rt.jar
My Path variable is defined under system variables and looks like this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\j2sdk1.4.0\bin;c:\j2sdk1.4.0\j2re1.4.0-rc\bin
When I run javac, the command prompt says "'javac' is not recognized as an internal or external command,
operable program or batch file."
Can someone please tell me what I am doing wrong?
Thanks.
+Pie Number of slices to send: Send
I did a reboot and the problem appears to be fixed!
+Pie Number of slices to send: Send
I tried the above and rebooted but it still didnt work for me. Please help!
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 968 times.
Similar Threads
java installation
bartender, I have got the same problem as Sri Addanki for the error of noClassDefFoun
Where do I update the PATH environment?
Applet notinited
NoClassDefException in 1.4
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:22:05.