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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Environment variable" Watch "Environment variable" New topic

Environment variable

kiran kumar sharma

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

Joined: Oct 13, 2005
Posts: 40453
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