Quickstart: Installing and Setting Up Solaris Container Manager 3.6 With Sun Management Center

Installing the Required JDK Version

Sun Management Center 3.6 requires JDKTM 1.4.2, which is available on the /<DiskMountDir>/jdk_dir directory, where jdk_dir is the name of the JDK directory on the CD.

ProcedureTo Install the Required JDK Version

Steps
  1. Install the JDK from CD 1 of 2 using the pkgadd command.

    Type the command pkgadd -d /<DiskMountDir>/jdk_dir/Solaris.

    Press Return to install all of the packages. The JDK packages are installed in the /usr/j2se directory.

  2. Reset the JAVA_HOME environment variable to /usr/j2se.

    • In a C shell environment, type:


      # setenv JAVA_HOME /usr/j2se
      
    • In a Bourne or Korn shell environment, type:


      # JAVA_HOME=/usr/j2se
      # export JAVA_HOME
      

      Tip –

      Set the JAVA_HOME environment variable in your .login or .cshrc file.