Install Java
To configure your system with the proper Java version, use the following steps:
- Install a Java version from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. You must install Java Development Kit (JDK) 8 u144 or 1.8.0.171 and up. Incorta does not support Java SDK 1.8.0.151 through 1.8.0.171. Oracle may require you to create an account before you download the Java SDK.
- Configure
JAVA_HOME
after completing the java installation.JAVA_HOME
andJRE_HOME
need to be configured before each Incorta installation on each Incorta node. - Set the Java path environment variable. For example:
export PATH="<INSTALL_FOLDER>/java/jdk1.8.0_131/bin:$PATH"
export JAVA_HOME="<INSTALL_FOLDER>/java/jdk1.8.0_131"
Configure Java Using Mac OS
For Mac OS, run the following command:
$ export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0_<VERSION_NO>)
$ export JRE_HOME=$JAVA_HOME/jre
Configure Java Using Linux
For Linux configurations (CentOS or 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
;
.