wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes I need to set the classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
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://aspose.com/file-tools
 
subject: I need to set the classpath