JRE 7 Installation on the Oracle Solaris Operating System

See JDK 7 and JRE 7 Installation Guide for general information about installing JDK 7 and JRE 7.

For information on enhancements to JDK 7 that relate to the installer, see Installer Enhancements in JDK 7.


System Requirements

This version of the JRE is supported on the Oracle Solaris 10 Update 9 or later OS, Oracle Solaris 11 Express OS, and Oracle Solaris 11 OS. For supported processors and browsers, see Oracle JDK 7 and JRE 7 Certified System Configurations.

JRE 7 Installation Instructions for Oracle Solaris 11 using IPS Packages

To install JRE 7 on Oracle Solaris 11, install the jre-7 package:
  1. Make sure the jre-7 package is available from your IPS publisher.

    $ pkg list -a jre-7
    NAME (PUBLISHER)     VERSION                   IFO
    runtime/java/jre-7     ---

    If you see an "i" in the I column, then the package is already installed.

    This package is available from the solaris publisher at pkg.oracle.com and also from other publisher origins. If you see a message that no such package is found, use the pkg publisher command to check your publisher origin and contact your system administrator or Oracle Support representative.

  2. Make sure you have permissions to install IPS packages.

    • Use the profiles command to list the rights profiles that are assigned to you. If you have the Software Installation rights profile, you can use the pfexec command to install and update packages.

      $ pfexec pkg install jre-7

      Other rights profiles also provide installation privilege, such as the System Administrator rights profile.

    • Depending on the security policy at your site, you might be able to use the sudo command with your user password to execute a privileged command.

      $ sudo pkg install jre-7
    • Use the roles command to list the roles that are assigned to you. If you have the root role, you can use the su command with the root password to assume the root role.

      # pkg install jre-7

Manual JRE 7 Installation Instructions

The following table lists the options available for downloading the JRE 7 release on the Oracle Solaris platform.

Download File(s) Architecture Who Can Install
64-bit SPARC anyone
64-bit x64, EM64T anyone
jre-7u<version>-solaris-i586.tar.gz EM64T anyone

Note: For any text on this page containing the following notation, you must substitute the appropriate JRE update version number for the notation.


For example, if you are installing update JRE 7 update release 1, the following string representing the name of the bundle:


would become:


Note that, as in the preceding example, the <version> number is sometimes preceded with the letter u, for example, 7u1, and sometimes it is preceded with an underbar, for example, jre1.7.0_01.

Installation of Oracle Solaris Archive Binaries (.tar.gz)

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-7u<version>-solaris-sparc.tar.gz     (32-bit)
    jre-7u<version>-solaris-sparcv9.tar.gz   (64-bit)

On x64/EM64T processors:

    jre-7u<version>-solaris-i586.tar.gz     (32-bit)
    jre-7u<version>-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.

1. Download the bundles or bundle, if you are installing only the 32-bit version of Oracle Solaris. Before the file can be downloaded, you must accept the license agreement. 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.

2. Change directory to the location where you would like the JRE to be installed. Move the .tar.gz archive binaries to the current directory.

3. Unpack the tarball and install the JRE.

The following steps can be performed in either order.

On SPARC processors:

    % gzip -dc jre-7u<version>-solaris-sparc.tar.gz | tar xf -
    % gzip -dc jre-7u<version>-solaris-sparcv9.tar.gz | tar xf -

On x64/EM64T processors:

    % gzip -dc jre-7u<version>-solaris-i586.tar.gz | tar xf -
    % gzip -dc jre-7u<version>-solaris-x64.tar.gz | tar xf -

The JRE 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 32-bit JRE was installed. For example, on SPARC processors the 64-bit Java VM Library file (libjvm.so) is stored in the jre1.7.0_<version>/jre/lib/sparcv9/server directory, whereas the version for x64/EM64T is stored in the jre1.7.0_<version>/jre/lib/amd64/server directory.

Java Plugin Browser Registration Instructions

You must register the Java Plugin component with Firefox for the Plugin to work. Instructions to do this can be found at Manual Installation and Registration of Java Plugin for Oracle Solaris.

Java Plugin is supported for the browsers listed in JDK 7 and JRE 7 Certified System Configurations.

If you are using a non-supported browser, check your browser documentation for details on registering the Java Plugin.

Java Web Start Installation Notes

This JRE release includes Java Web Start; Java Web Start is automatically installed with the JRE. But note the following:

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.