Professional Documents
Culture Documents
This version of the JDK 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.
For example, if you are installing update JDK 8 update release 1, the following string
representing the name of the bundle:
jdk-8uversion-solaris-sparc.tar.gz
becomes:
jdk-8u1-solaris-sparc.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,
jdk1.8.0_01.
VERSION
1.8.0.0-0.183.0.0.0.0.0
IFO
---
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.
o 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.
o
Architecture
jdk-8uversion-solaris-sparcv9.tar.gz
64-bit SPARC
anyone
jdk-8uversion-solaris-x64.tar.gz
anyone
jdk-8uversion-solaris-sparcv9.tar.Z
64-bit SPARC
root
jdk-8uversion-solaris-x64.tar.Z
root
o On x64/EM64T processors:
o
The JDK is installed in a directory called jdk1.8.0_version in the current directory. For
example, for the JDK 8 update 1 release, the directory would be named: jdk1.8.0_01.
The JDK documentation is a separate download. See
http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs.
If you do not have root access to your Oracle Solaris system, see "JDK 8 Installation Instructions
for Oracle Solaris 11 using IPS packages" to install a private copy of the JDK.
Follow these steps to install:
1. Create a new directory to save the download bundle in, and change to that directory.
2. Download the bundle.
Before the file can be downloaded, you must accept the license agreement.
3. Extract the contents of the compressed tar files:
o On SPARC processors:
o
o On x64/EM64T processors:
o
Then run the pkgadd command to install the new Japanese man page package.
# pkgadd -d . SUNWj8jmp
9. To save space, delete the tar files and extracted SUNW* directories.
10. Exit the root role.
No need to reboot.
The /usr/java symbolic link can change the default Java platform because there are symbolic
links in /usr/bin (also known as /bin) that use it. (For example, the /usr/bin/java link refers
to /usr/java/bin/java, which is the Java Runtime Environment). Many Java applications are
compatible with later versions of the Java platform, but some applications might be less
compatible.
PATH Setting
The default Java is linked through /usr/bin, such as /usr/bin/java. If this is in the path
before another version of Java is in the path, then that will be the version of Java run from the
command line or from any other tool that uses the PATH environment variable to locate Java.