This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set classpath for jdk 1.6

 
Abhijit Kangale
Ranch Hand
Posts: 39
  • 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: 48438
56
  • 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