This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to set classpath on XP? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "How to set classpath on XP?" Watch "How to set classpath on XP?" New topic
Author

How to set classpath on XP?

Bruno Frascino
Ranch Hand

Joined: Jul 22, 2003
Posts: 55
Hi there,
How to set classpath and the path, or anyone enviroment variable to make my javac useful?, on the winXP?!?
Which path, bin or lib, I have to set on the classpath and path?!
Thanks for any help!


--BJCK--
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Depends on what you are doing. To use the basic J2SE you don't need a classpath. Just add the bin directory to your path= so you can access javac.exe and java.exe.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
The steps to set the PATH environment variable in Windows XP are a lot like the steps to set the CLASSPATH, or any other environment variable. Take a look at http://test.javaranch.com/wiki/view?HowToSetTheClasspath for the step-by-step.
Did you figure it out?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Bruno Frascino
Ranch Hand

Joined: Jul 22, 2003
Posts: 55
Ok! Thanks buddies!!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to set classpath on XP?
 
Similar Threads
tomcat
classpath and Path
How can i set path and classpath?
java installation
classpath and path setting in windows XP OS ?