• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nadine McKenzie
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a reboot and the problem appears to be fixed!
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the above and rebooted but it still didnt work for me. Please help!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!