Installation of JDK on Oracle Solaris from Archive Binaries

You can install JDK 17 on Oracle Solaris from archive binaries (.tar.gz).

To install the JDK from an archive binary on Oracle Solaris:
  1. Download the archive binary for Oracle Solaris from Java Downloads. Its file name is jdk-17.interim.update.patch_solaris-sparcv9_bin.tar.gz.

    Ensure that you accept the license agreement before downloading the file.

    You can install the JDK archive binary in any location that you can write to. It does not replace the system version of the Java platform provided by the Oracle Solaris operating system.

    You can simultaneously uncompress and extract the .tar.gz archive binary (also called a tarball) in one step.

  2. Change the directory to the location where you want the JDK to be installed.
  3. Move the .tar.gz archive binary to the current directory.
  4. Install the JDK by unpacking the archive binary:
    $ gzip -dc jdk-17.interim.update.patch_solaris-sparcv9_bin.tar.gz | tar xf -

    The JDK is installed in a directory called jdk–17.interim.update.patch in the current directory. For example, the directory for JDK 17 Interim 0, Update 0, and Patch 0 is named jdk-17.