Sun Management Center 4.0 Installation and Configuration Guide

Installing the Required JDK Version

The minimum JDKTM requirement for Sun Management Center 4.0 is JDK 1.5. The JDK software is available in the DiskMountDir/disk1/jdk-dir/TargetOS directory, where jdk-dir is the name of the JDK directory on the disk and TargetOS is the Linux, Solaris, or Windows operating system.

ProcedureTo Install the Required JDK Version

  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.