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

Environment variable

 
kiran kumar sharma
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the menaing of PATH, CLASSPATH and JAVA_HOME ?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kiran kumar sharma wrote:What is the menaing of PATH, CLASSPATH and JAVA_HOME ?


PATH: OS search here to find executable file like javac, java etc...

CLASSPATH : Java class loader find classe files here

JAVA_HOME : any other third party tool[tomcat etc..] which need java to run find java installation here
 
Campbell Ritchie
Sheriff
Posts: 48921
58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this FAQ help? If not, it might be worth altering it, or writing a new FAQ about environment variables.
By the way: you need a PATH but not a CLASSPATH; in fact, setting your own CLASSPATH usually does more harm than good.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic