The purpose is to point to where Java is installed. $JAVA_HOME/bin/java
should execute the Java runtime.
More Related Contents:
- How to change JAVA.HOME for Eclipse/ANT
- How to set java_home on Windows 7?
- How do I set environment variables from Java?
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- java.lang.ClassNotFoundException in spite of using CLASSPATH environment variable
- how to read System environment variable in Spring applicationContext
- How to refer environment variable in POM.xml?
- Environment variable to control java.io.tmpdir?
- How to set JAVA_HOME in Mac permanently?
- How to test code dependent on environment variables using JUnit?
- How to set Oracle’s Java as the default Java in Ubuntu?
- What is LD_LIBRARY_PATH and how to use it?
- Environment Variable with Maven
- Error: JAVA_HOME is not defined correctly executing maven
- SDK Manager.exe doesn’t work
- Eclipse will not open due to environment variables [duplicate]
- How can I get System variable value in Java?
- Passing JVM arguments to Tomcat when running as a service?
- Can we read the OS environment variables in Java?
- JAVA_HOME and PATH are set but java -version still shows the old one
- Using system environment variables in log4j xml configuration
- How to give environmental variable path for file appender in configuration file in log4j
- Referencing Environment Variables in web.xml
- Gradle finds wrong JAVA_HOME even though it’s correctly set
- Should JAVA_HOME point to JDK or JRE?
- What’s the difference between a System property and environment variable
- “The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe”
- How to set environment variables to an application on OSX Mountain Lion?
- Setting up enviroment variables in Windows 10 to use java and javac
- Tomcat – CATALINA_BASE and CATALINA_HOME variables