Trusted Solaris Operating System - Technical FAQs

Question

What can I do about Sun Security Bulletin #00199?

Answer

You will need to install J2SE: Java Standard Edition (1.2.2_06 Localized) into the Trusted Solaris 8 Operating Environment.

This procedure refers to the installation of both the SPARC and INTEL versions. Although for simplicity, only the SPARC version is used as an example. The installation of the INTEL version is identical except for the directory names, substituting "i386" for "sparc" where appropriate.

  1. Download J2SE 1.2.2_06
    1. Go to http://java.sun.com/products/archive/


    2. Scroll down the page until you get to "J2SE: Java Standard Edition (1.2.2_06 Localized)". Choose either the SPARC or Intel edition, English or international version.


    3. Log in to the Download Center and accept the license agreement.


    4. Please be sure to choose:


      • Standard Edition
      • Self-extracting file
      • Version 1.2.2_06

    5. The downloaded file is "Solaris_J2SE_1.2.2_06_sparc.bin" for the SPARC platform and "Solaris_J2SE_1.2.2_06_i386.bin" for the Intel platform.

      NOTE: J2SE can not be downloaded as a primaryadmin.


    6. Get the MLD real path for the downloaded file to pass to the primaryadmin role during installation.

      mldrealpath Solaris_J2SE_1.2.2_06_sparc.bin

      The output will be, for example:

      /home/.MLD.myname/.SLD.0/Solaris_J2SE_1.2.2_06_sparc.bin

  2. Install J2SE 1.2.2_06
    1. Assume the primaryadmin role and type csh (or ksh) to get all privileges and uid 0.


    2. Save the original J2SE

      mv /usr/java1.2 /usr/java1.2.old


    3. Go to /usr and run the downloaded J2SE file as follows:

      cd /usr
      sh -x /home/.MLD.myname/.SLD.0/Solaris_J2SE_1.2.2_06_sparc.bin


      This script will create a directory "Solaris_J2SE_1.2.2_06" and install the entire J2SE under it.


    4. Move the J2SE files to /usr/java1.2

      mv /usr/Solaris_J2SE_1.2.2_06 /usr/java1.2


    5. Set the allowed privilege to all for all the executables under /usr/java1.2.

      find . -type f -a -perm o=x -a ! -name "*.so" -exec setfpriv -s -a all {} \;


    6. Check the version of the newly installed J2SE with the command

      java -version

      It should print out

      Solaris VM (build Solaris_J2SE_1.2.2_06, native threads, sunwjit)
Applies to Trusted Solaris Release

8