Sun Management Center 3.6.1 Installation and Configuration Guide

Installing the Required JDK Version

Sun Management Center 3.6.1 requires JDKTM 1.4.2 (minimum requirement), which is available on the <DiskMountDir>/disk1/jdk_dir/TargetOS_dir directory, where jdk_dir is the name of the JDK directory on the disk and TargetOS_dir is Linux or Solaris or Windows.

ProcedureTo Install the Required JDK Version

Steps
  1. Install the JDK from the disk using the pkgadd command.

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

    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.