Sun Java Solaris Communities My SDN Account Join SDN
 
Archive - Java Technology Products Download

Installation Notes : Java 2 Runtime Environment, Version 1.2.2 for Solaris Reference Operating Environments

 

Installation Notes

Java 2 Runtime Environment, Version 1.2.2 for Solaris Reference Operating Environments

Solaris 2.6 and Solaris 7 SPARC-based Machines
and Solaris 2.6 and Solaris 7 Intel-based (x86) Machines

Japanese

Installation Instructions | Troubleshooting the installation

Solaris Installation Instructions

The installation and configuration process can be broken down into the following steps:

  1. Check Solaris patches
  2. Do pre-installation checks
  3. Unpack the downloaded file
  4. Delete the original file you downloaded (optional)
If you experience trouble along the way, check the Troubleshooting the Installation section at the end of this document.
Please note, for any command lines on this page containing the following notation, you must substitute the appropriate update version number for the notation.
       <version number>
For example, if you are downloading update 1.2.2_008, the following chmod command:
      % chmod a+x jre-1_2_2_<version number>-solaris-sparc.sh
would become:
      % chmod a+x jre-1_2_2_008-solaris-sparc.sh

1. Check Solaris patches

  • Prior to installing the Java 2 SDK, you should insure that you have installed the full set of required patches needed for support of this release. To obtain patches, see the SunSolve support website. You will find a patch cluster for each Solaris operating environment platform. Each patch cluster applies to all supported versions of the Java 2 Standard Edition (J2SE) on the given platform.

2. Do pre-installation checks

  • Check the size of your downloaded file.

    Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.

3. Unpack the downloaded software file
    If you unpack the software or documentation in a directory that contains a directory named jre1.2.2, the new software will overwrite files of the same name in that jre1.2.2 directory. Please be careful to rename the old directory if it contains files you would like to keep.

    In a shell window, execute the commands listed below.

    • For SPARC:

      % chmod a+x jre-1_2_2_<version number>-solaris-sparc.sh
      % ./jre-1_2_2_<version number>-solaris-sparc.sh

    • For Intel (x86):

      % chmod a+x jre-1_2_2_<version number>-solaris-i586.sh
      % ./jre-1_2_2_<version number>-solaris-i586.sh

    This will create a directory called jre-1.2.2 containing the Java 2 Runtime Environment in bin and lib subdirectories.
4. Delete the original file you downloaded
    If you want to recover disk space, delete the file you downloaded.

Troubleshooting the Installation

    Error Message: The download file appears to be corrupted
    The Java 2 Runtime Environment's installation script does a checksum to insure that the software bundle was not corrupted during the download. If the checksum indicates that your file is corrupted, delete the file and download a new copy.
To submit comments or suggestions about the Java 2 SDK, please send mail to the most appropriate engineering team from the list at Java Software email addresses.