Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set classpath for jdk 1.6

 
Abhijit Kangale
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

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

Thanks & Regards,
ABHIJIT
 
Campbell Ritchie
Sheriff
Posts: 48921
58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic