wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes how to set classpath for jdk 1.6 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 » Java » Beginning Java
Bookmark "how to set classpath for jdk 1.6" Watch "how to set classpath for jdk 1.6" New topic

how to set classpath for jdk 1.6

Abhijit Kangale
Ranch Hand

Joined: Sep 17, 2009
Posts: 39
Hi everyone,

How can I set classpath for jdk 1.6 once it is being installed....?

Thanks & Regards,
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38048
Welcome to JavaRanch

Don't set a classpath at all, unless one has already been set. If a classpath has been set, then add a . to it.
You will have to set a PATH variable, whihc is different from the classpath. Here are the installation instructions; in the Windows version it tells you about the PATH in section 4. If you are on a different operating system, please ask again.
It is sorta covered in the JavaRanch Style Guide.
subject: how to set classpath for jdk 1.6
Similar Threads
Jar files required to use org.w3c.dom.* and javax.xml.*
Trouble getting off the ground with JBoss 5.1
How can we change tha java version to use?
Error when running a java program
How to use different java versions on my machine