File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Environment Variables for j2sdk1.4.0 & j2re1.4.0-rc Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Environment Variables for j2sdk1.4.0 & j2re1.4.0-rc" Watch "Environment Variables for j2sdk1.4.0 & j2re1.4.0-rc" New topic
Author

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

Nadine McKenzie
Ranch Hand

Joined: Feb 15, 2002
Posts: 53
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 -SCJP, SCWCD, SCBCD
Nadine McKenzie
Ranch Hand

Joined: Feb 15, 2002
Posts: 53
I did a reboot and the problem appears to be fixed!
herkulis nugent
Greenhorn

Joined: Nov 22, 2000
Posts: 23
I tried the above and rebooted but it still didnt work for me. Please help!
 
 
subject: Environment Variables for j2sdk1.4.0 & j2re1.4.0-rc
 
Threads others viewed
Applet notinited
NoClassDefException in 1.4
bartender, I have got the same problem as Sri Addanki for the error of noClassDefFoun
Where do I update the PATH environment?
java installation
MyEclipse, The Clear Choice