This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes I need to set the classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "I need to set the classpath" Watch "I need to set the classpath" New topic
Author

I need to set the classpath

Shae Oommen
Greenhorn

Joined: Apr 12, 2006
Posts: 13
I have downloaded everything.I need to set the classpath.

C:\Program Files\Java\jre1.5.0_06\bin

this is where the bin is
and my program is saved in

C:\Codes\A.java

How do i set the path
richard stockman
Greenhorn

Joined: Apr 11, 2006
Posts: 11
on XP Right Click MyComputer > Properties > Advanced Tab > Environment Variables > under user Variables section, add or edit PATH > with the location of the install c:\program files\java\jdk1.5.0_6\bin\. That should be it.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Shae Oommen:
I have downloaded everything.I need to set the classpath...

You need to set the PATH, which is different than the CLASSPATH. Leave the CLASSPATH alone for now.

To set the PATH, see step 5 of Sun's installation instructions for Windows.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: I need to set the classpath
 
Similar Threads
Still not Working
executing rmid
how to set path in autoexec.bat
Tomcat is not running.. pls help
question on package and classpath