• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the diff between path and classpath  RSS feed

 
Suresh Khanna
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the diff between path and classpath
What situation they are used and purpose of each of them ?
clarify pls.

thank you in advance
Suresh K
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37469
539
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suresh,
The PATH is used by your operating system to find the javac/java programs. The CLASSPATH is used by java to find the classes that your program references. You probably won't be using CLASSPATH right away.
 
Suresh Khanna
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your answer Jeanne.
Suresh K
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!