Install Java
To configure your system with the proper Java version, use the following steps:
- Choose and install a Java version from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.
- Configure
JAVA_HOME
after completing the java installation.JAVA_HOME
andJRE_HOME
need to be configured before each Incorta installation on each Incorta node.
For MacOS, run the following command:
$ export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0_<VERSION_NO>)
$ export JRE_HOME=$JAVA_HOME/jre
For CentOS and Redhat, run the following command:
$ ls -l /usr/lib/java
If you install more than one java file, set JAVA_HOME
to Java8 u<VERSION_NO>
.
$ export JAVA_HOME=$(/usr/java/jdk1.8.0_144)
$ export JRE_HOME=$JAVA_HOME/jre
Configure Java Using Windows
For Windows users, after the JAVA installation is complete, configure JAVA_HOME:
- Navigate to Control Panel > System > Advanced System Settings > Environment Variables.
- Select New (add the Variable Name
JAVA_HOME
and add the variable value<jdk.release number_path>
) - Select Path and edit the value. Add the full path to the list of paths in the jdk bin folder and separate it with a
;
.