Solaris System Requirements

The instructions below are for installing version Java 7 Update 7 (7u7). If you are installing another version, make sure you change the version number appropriately when you type the commands at the terminal. Example: For Java 6u35 replace 7u7 with 6u35. Note that, as in the preceding example, the version number is sometimes preceded with the letter u, and sometimes it is preceded with an underbar, for example, jre1.7.0_07.

You can install a JRE archive binary in any location that you can write to. It will not displace the system version of the Java platform provided by the Oracle Solaris OS.

Installing the JRE on a 64-bit system that allows a 32-bit JVM is a two-step process: first install the 32-bit JRE and then install the additional support for 64-bit operations. The file names are as follows:

On SPARC processors:

jre-7u7-solaris-sparc.tar.gz (32-bit)

jre-7u7-solaris-sparcv9.tar.gz (64-bit)

On x64/EM64T processors:

jre-7u7-solaris-i586.tar.gz (32-bit)

jre-7u7-solaris-x64.tar.gz (64-bit)

If you are running a 32-bit version of Oracle Solaris, you only need to download and install the 32-bit version.

Download the bundles or bundle, if you are installing only the 32-bit version of Oracle Solaris. The archive binaries can be installed by anyone (not only root users), in any location that you can write to.

The .tar.gz archive file (also called a tarball) is a file that can be simultaneously uncompressed and extracted in one step.

Java is installed in a directory called jre1.7.0_<version> in the current directory. For example, for the JRE 7 update 1 release, the directory would be named: jre1.7.0_01

The supplemental files for 64-bit support are installed in directories named for the machine architecture model, which are added at several locations within the same
jre1.7.0<version> directory where the was installed.

For example, on SPARC processors the 64-bit Java VM Library file (libjvm.so) is stored in the
jre1.7.0<version>/lib/sparcv9/server
directory, whereas the version for x64/EM64T is stored in the
jre1.7.0<version>/lib/x64/server directory.

Example:
If Mozilla is installed in this directory:
/usr/lib/mozilla-1.4/

and if Java is installed in this directory:
/usr/java/jre7u3
Then type at the terminal to go to the browser plug-in directory:
cd /usr/lib/mozilla-1.4/plugins
Enter the following command to create a symbolic link to Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.7.0_u<version>/lib/libnpjp2.so .

Start Mozilla browser or restart if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.

Go to Edit > Preferences.

Under Advanced category > Select Enable Java.
Java is now enabled for the browser.