wood burning stoves 2.0*
The moose likes General Computing and the fly likes classpath and path setting in windows XP OS ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "classpath and path setting in windows XP OS ?" Watch "classpath and path setting in windows XP OS ?" New topic
Author

classpath and path setting in windows XP OS ?

Frank Sikuluzu
Ranch Hand

Joined: Dec 16, 2003
Posts: 116
how to set CLASSPATH/PATH in windows XP OS ?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Right Click on your My Computer Icon. Choose Properties. Go to the Advanced Tab. Click Environment Variables button at the bottom. You have user variables at the top and system variables at the bottom. The system var's already have a PATH defined. You can just edit that, or you can edit/create one in the user var's. And you can create a CLASSPATH var in either system or user.
I would suggest not worrying about the classpath and just specify this at compile/runtime with the -classpath option. It's good practice and when/if you start using an IDE, this is done automatically. Good Luck!


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath and path setting in windows XP OS ?
 
Similar Threads
ant executable problem
compilation is very slow when using java 1.6 with maven
Do I have to test my FBN in UNIX box? or only win2000 will be enough?
Regarding java1.5 installation
path and classpath