This topic includes the following sections:
The Server JRE 9 is supported on the Oracle Solaris SPARC (64-bit), version 11 or later.
For supported processors and browsers, see Oracle JDK 9 and JRE 9 Certified Systems Configurations.
Instructions for installing either the JDK or JRE contain a minor.security.patch
notation that represents the update version number.
For JDK and JRE installation instructions that contain the notation minor.security.patch
, substitute the appropriate update version number. For example, if you are installing JDK 9 Minor 2, Security 1, and Patch 1, then the following string represents the name of the bundle:
jdk-9.minor.security.patch_solaris-sparcv9_bin.tar.gz
This string becomes:
jdk-9.2.1.1_solaris-sparcv9_bin.tar.gz
If you are installing JRE 9 Minor 2 and Security 1, then the following string represents the name of the bundle:
jre-9.minor.security.patch_solaris-sparcv9_bin.tar.gz
This string becomes:
jre-9.2.1.1_solaris-sparcv9_bin.tar.gz
You can install JDK 9 on an Oracle Solaris platform from archive binaries (.tar.gz
) and Image Packaging System (IPS), which is the Solaris Update Repository.
Download File: jdk-9.minor.security.patch_solaris-sparcv9_bin.tar.gz
Architecture: 64-bit SPARC
Who Can Install: Anyone
The installation instructions for using these files are organized by the .tar.gz
file type. This technique allows you to install a private version of the JDK for the current user in any ___location without affecting other JDK installations. However, it involves manual steps to get some features to work.
Note:
See Installing JDK on Oracle Solaris 11 from IPS Packages for the recommended approach.Installing JDK on Oracle Solaris from Archive Binaries
You can install the JDK archive binary in any ___location that you can write to. It does not displace the system version of the Java platform provided by the Oracle Solaris OS..tar.gz
) on Oracle Solaris:You can install JDK 9 on Oracle Solaris by using an IPS package.
jdk-9
package:You can install a JRE 9 archive binary in any ___location that you can write to. The installation does not displace the system version of the Java platform provided by the Oracle Solaris OS.
.tar.gz
):You can install JRE 9 on Oracle Solaris by using an IPS package.
If there are multiple versions of Java installed on the same image, then you can specify the default or preferred Java version using Mediator. A mediator contains a set of links to different implementations of an application, where every link has the same mediator name and link path, but different target link paths.
View the Current Default Version
pkg mediator
command to display all mediators in the image and the current default Java version.
/usr/bin/pkg mediator | grep java
Set the Default Java Version
Use thepkg set-mediator
command to set Java 9 as the default or preferred version.
usr/bin/pkg set-mediator -V 9 java