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.
||In Linux/Unix (bash), assuming the JDK is installed in pt/java/jdk1.7.0_55, the following commands will set up the environment:
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.
||In Windows, assuming the JDK is installed in C:\jdk1.7.0_55, the following commands will set up the environment:
- 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).
- Select the Advanced tab and then Environment Variables.
- 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).