Documentation Contents
Java Platform, Standard Edition Installation Guide
Contents    Previous    Next

4 JRE 8 Installation on the Oracle Solaris Operating System

This page describes how to install JRE 8 on Oracle Solaris operating systems.

The page contains these topics:

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 http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html.

Installation Instructions Notation

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

version

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

jre-8uversion-solaris-sparcv9.tar.gz

becomes:

jre-8u1-solaris-sparcv9.tar.gz

Note that, as in the preceding example, the version number is sometimes preceded with the letter u, for example, 8u1, and sometimes it is preceded with an underscore, for example, jre1.8.0_01.

JRE 8 Installation Instructions for Oracle Solaris 11 using IPS packages

To install JRE 8 on Oracle Solaris 11, install the jre-8 package:

  1. Make sure the jre-8 package is available from your IPS publisher.

    $ pkg list -a jre-8
    
    NAME (PUBLISHER)        VERSION                    IFO
    developer/java/jre-8    1.8.0.0-0.183.0.0.0.0.0    ---
    

    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 permission 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-8
      

      Other rights profiles also provide installation privilege, such as 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-8
      
    • 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-8
      

Manual JRE 8 Installation Instructions

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

Download File(s) Architecture Who Can Install
jre-8uversion-solaris-sparcv9.tar.gz 64-bit SPARC anyone
jre-8uversion-solaris-x64.tar.gz 64-bit x64, EM64T anyone

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.

Follow these steps to install:

  1. Download the bundle.

    Before the file can be downloaded, you must accept the license agreement. The archive binaries can be installed by anyone 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 want the JRE to be installed.

  3. Move the .tar.gz archive binaries to the current directory.

  4. Unpack the tarball and install the JRE:

    • On SPARC processors:

      % gzip -dc jre-8uversion-solaris-sparcv9.tar.gz | tar xf -
      
    • On x64/EM64T processors:

      % gzip -dc jre-8uversion-solaris-x64.tar.gz | tar xf -
      

The JRE is installed in a directory called jre1.8.0_version in the current directory. For example, for the JRE 8 update 1 release, the directory is named: jre1.8.0_01.

The JRE documentation is a separate download. See http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs.

Contents    Previous    Next

Oracle and/or its affiliates Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved.
Contact Us