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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to set classpath on XP?" Watch "How to set classpath on XP?" New topic

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!

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

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://aspose.com/file-tools
subject: How to set classpath on XP?
Similar Threads
How can i set path and classpath?
classpath and Path
classpath and path setting in windows XP OS ?
java installation