aspose file tools*
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 Spring in Action this week in the Spring 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
 
Don't get me started about those stupid light bulbs.
 
subject: classpath and path setting in windows XP OS ?