Sun Java Solaris Communities My SDN Account Join SDN
 
Installation Notes

JDK 5.0 Solaris (SPARC Platform Edition) Operating System (64-bit)

 

See Solaris system requirements.

Installing the 64-bit JDK for the Solaris operating system on SPARC platforms is a two-step process.

  1. First, install the 32-bit JDK. Refer to the 32-bit JDK Installation Notes .
  2. Second, install the supplemental files for 64-bit support using the following 64-bit installation instructions.

64-bit Installation Instructions

Follow this procedure to install support for 64-bit operation of the JDK on SPARC processors. You must install the 32-bit JDK before proceeding with these instructions.

As with the installation of the 32-bit JDK, the 64-bit supplemental support is available in two installation formats; use the same installation format as you used for the installation of the 32-bit JDK.

Note: For any text on this page containing the following notation, you must substitute the appropriate JDK update version number for the notation.
      <version>
For example, if you have downloaded update 1.5.0_01, the following command:
      chmod +x jdk-1_5_0_<version>-solaris-sparcv9.sh
would become:
      chmod +x jdk-1_5_0_01-solaris-sparcv9.sh

Installation of Self-Extracting Binary

Follow these instructions to add 64-bit support to the JDK which has already been installed using the self-extracting binary. If you want to install Solaris packages comprising the JDK, see Installation of Solaris Packages.

1. Download the self-extracting binary and check the file size to ensure that you have downloaded the full, uncorrupted software bundle.

You can download to any directory you choose; it does not have to be the directory where you want to install the JDK.

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.

2. Make sure that execute permissions are set on the self-extracting binary:

chmod +x jdk-1_5_0_<version>-solaris-sparcv9.sh

3. Change directory to the same directory from where you installed the 32-bit install.

The next step installs the JDK into the current directory.
4. Run the self-extracting binary.
Execute the downloaded file, prepended by the path to it. For example, if the file is in the current directory, prepend it with "./" (necessary if "." is not in the PATH environment variable):

./jdk-1_5_0_<version>-solaris-sparcv9.sh

The binary code license is displayed, and you are prompted to agree to its terms.

The supplemental files for 64-bit support are installed in directories named sparcv9 at several locations within the same jdk1.5.0_<version> directory where the 32-bit JDK was installed.

Installation of Solaris Packages

Use these instructions if you want to use the pkgadd utility to install 64-bit support for the JDK.

1. Download and check the file size to ensure that you have downloaded the full, uncorrupted software bundle.

It's best to create a new directory to save the download bundle to, as the next step will extract several directories and files into this directory. The directory can be anywhere you choose.

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.

2. Extract the contents of the compressed tar file:

zcat jdk-1_5_0_<version>-solaris-sparcv9.tar.Z | tar -xf -

This creates several directories (SUNWj5rtx, SUNWj5dvx, and SUNWj5dmx) in the current directory, which contain 64-bit support for the JDK.

3. Become root by running su and entering the super-user password.

4. Uninstall any earlier 5.0 package installation of 64-bit packages.

If your machine has an earlier 64-bit version of 5.0 already installed in the default location (/usr/jdk/jdk1.5.0), you must remove it before installing a later 64-bit version of 5.0 at that location.

You can skip this step if you intend to install the 64-bit version JDK 5.0 in a non-default location. For more details, see Selecting the Default Java Platform.

To uninstall the Solaris packages for JDK 5.0, remove them by running:

pkgrm SUNWj5rtx SUNWj5dvx SUNWj5dmx

5. Run the pkgadd command to install the packages.

pkgadd -d . SUNWj5rtx SUNWj5dvx SUNWj5dmx

This will install the files for 64-bit support into the JDK 5.0_<version> installation at /usr/jdk/jdk1.5.0.

6. Delete the tar files and extracted SUNW* directories.

7. Exit the root shell. No need to reboot.