Access Keys:
Skip to content (Access Key - 0)


1.2 Install Java (SDK)

Print this page

Oracle Java JDK

Rhino 2.4 is compatible with Oracle Java 1.8 Update 60 64 bit and higher.

Rhino 2.4 is also compatible with Oracle Java 1.7 64 bit up to and including Update 55.

A regression introduced in Java 7 Update 60 affects SCTP on Linux. This has been fixed in Java 8 Update 60. As a result, OpenCloud products are not certified for Java releases between these versions.

Check the Java version

To check the the version of the Java installed in the system path, run java -version, for example:

$ java -version
java version "1.7.0_55"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.7.0_55-b03)
Java HotSpot(TM) Client VM (build 23.0-b19, mixed mode, sharing)

Set the JAVA_HOME environment variable

Click the tabs below for instructions on configuring the JAVA_HOME environment variable to point to your Java installation under Linux or Windows.

Linux In Linux/Unix (bash), assuming the JDK is installed in pt/java/jdk1.7.0_55, the following commands will set up the environment:
export JAVA_HOME=/opt/java/jdk1.7.0_55
export PATH=${PATH}:${JAVA_HOME}/bin

You can set these commands as follows, for:

  • a single user — ~/.bash_profile (runs only for Bash login shells) or ~/.bashrc (runs for every new Bash shell)
  • all users — global config in /etc/profile or /etc/bash.bashrc file.
Windows In Windows, assuming the JDK is installed in C:\jdk1.7.0_55, the following commands will set up the environment:
  1. Open the System Properties property dialog (right-click My Computer and select Properties, or hold down the Windows key and press the Pause/Break key, or select System from the Control Panel).
  2. Select the Advanced tab and then Environment Variables.
  3. In the System Variables table, create a new entry called JAVA_HOME with the pathname of the JDK installation (for example, C:\jdk1.7.0_55).
Adaptavist Theme Builder Powered by Atlassian Confluence