java.home : Java Glossary

java.home
java.home is a system property that describes where the JRE (Java Runtime Environment) is. It would normally have a value such as: C:\Program Files\java\jre7 which is the shorthand DOS (Disk Operating System) name of for the JRE directory. You can discover it in
String home = System.getProperty( "java.home" );

It is also wise to set up a JAVA_HOME environment variable to C:\Program Files\java\jre7 if you have just the JRE installed or J:\Program Files\java\jdk1.7.0_02 if you have the JDK (Java Development Kit) installed.


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/javahome.html J:\mindprod\jgloss\javahome.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.214]
You are visitor number 26,805.