Install Java

To configure your system with the proper Java version, use the following steps:

  1. Choose and install a Java version from the Oracle website:
  2. Configure JAVA_HOME after completing the java installation. JAVA_HOME and JRE_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:

  1. Navigate to Control Panel > System > Advanced System Settings > Environment Variables.
  2. Select New (add the Variable Name JAVA_HOME and add the variable value <jdk.release number_path>)
  3. 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 ;.

© Incorta, Inc. All Rights Reserved.