This version of the JRE is supported on the Solaris 8, Solaris 9, Solaris 10, and Solaris 11 operating systems. For supported processors, desktop managers, and browsers, see System Configurations.
Prior to installing the JRE, you should ensure that you have installed the full set of required patches needed for support of this release. See My Oracle Support website for recommended and required patches.
See also Solaris Font Package Requirements for information about which font packages should be on your system.
To install the 32-bit JRE, use the Self-Extracting Binary File . This file can be used to install the JRE in a location chosen by the user. It can be installed by anyone (not only a root user), and it can be installed in any location. It will not displace the system version of the Java platform suppled by the Solaris Operating System (unless you intentially install it in the same location as the system's Java platform, which requires you to be root user).
When you install the JRE, Java Plugin and Java Web Start are automatically installed as well. Note that Java Plugin needs to be registered with the browser. Instructions for doing so can be found below at Java Plugin Browser Registration Instructions.
To install the 64-bit JRE on a SPARC, x64, or EM64T platform, you must follow a two-step procedure. First, install the 32-bit JRE using the installation instructions below. Next, install the supplemental support for 64-bit operation by following the 64-bit Installation Instructions.
Note: For any text on this page containing the following notation, you must substitute the appropriate JRE update version number (such as "_01") for the notation.
For example, if you are installing update 1.6.0_01, the following command:
chmod +x jre-6 <update>-solaris-sparc.sh
chmod +x jre-6_01-solaris-sparc.sh
Use these instructions to install the 32-bit JRE for Solaris.
You can download to any directory you choose; it does not have to be the directory where you want to install the JRE.
Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal.
On SPARC processors:
chmod +x jre-6 <update> -solaris-sparc.sh
On x86/x64/EM64T processors:
chmod +x jre-6 <update> -solaris-i586.sh
The next step installs the JRE into the current directory.
Execute the downloaded file with the path prepended to it. For example, if the file is in the current directory, prepend it with "
./" (necessary if "
." is not in the PATH environment variable):
On SPARC processors:
./jre-6 <update> -solaris-sparc.sh
On x86/x64/EM64T processors:
./jre-6 <update> -solaris-i586.sh
The binary code license is displayed, and you are prompted to agree to its terms.
The JRE files are installed in a directory called
jre1.6.0 <update> in the current directory. Follow this link to see its directory structure. The JRE documentation is a separate download.
Note about System Preferences - When run by a non-root user, the installation is considered a "private" or non-system install. During a private install, the installation script configures Java such that the backing store for the
java.util.prefs package is created inside the JRE's installation directory. If the JRE is installed this way on a network-mounted drive, all Java applications, libraries, and preferences can be exported for sharing, so that the same version of the Java runtime environment and preferences are available to other machines.
As an alternative, when root users run the installation script, preferences are stored in the
/etc directory. This is similar to installing the Java packages for Solaris, and this installation is "public" or system specific. Installing Java in this manner allows all versions of Java that support the
java.util.prefs package to share the same set of preferences. In other words, in a public/system install, preferences set by a user running the JRE are available when the system is upgraded.
See the Preferences API documentation for more information about preferences in the Java platform.
You must register the Java Plugin component with Netscape or Mozilla for the Plugin to work.
Java Plugin is supported for Netscape 7.x, plus Mozilla 1.x and higher on Solaris 8, 9, and 10. Java Plugin also supports Netscape 4.x, but only on Solaris 8. Java Plugin no longer works with Netscape 6.x. Java Plugin may work with other non-supported browsers. If you are using a non-supported browser, check your browser documentation for details on registering the Java Plugin.
This JRE release includes Java Web Start; Java Web Start is automatically installed with the JRE. But note the following:
jnlp; MIME Type is
application/x-java-jnlp-file. It should be handled by the
pkgaddutility use: (1) If you use the
pkgaddutility to install the Solaris packages for JDK or JRE, a symbolic link for
/j2se/jre/javaws/javawsis created in
/usr/bin. (2) If you have a previous release of Java Web Start installed and you want the latest version to run instead, edit the
$HOME/.mailcapfile so that it is identical to
/etc/.mailcap. If you want the older version of Java Web Start to run, do not edit
If you use the Invocation API to launch an application directly rather than using the Java application launcher, be sure to use the correct paths to invoke the Java HotSpot Client Virtual Machine (VM) or Java HotSpot Server VM, as desired. Refer to Location of VM Library Files.