aspose file tools*
The moose likes Beginning Java and the fly likes Environment variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Environment variable" Watch "Environment variable" New topic
Author

Environment variable

kiran kumar sharma
Greenhorn

Joined: Mar 19, 2012
Posts: 10
What is the menaing of PATH, CLASSPATH and JAVA_HOME ?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

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

Joined: Oct 13, 2005
Posts: 39400
    
  28
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.
 
wood burning stoves
 
subject: Environment variable