Sun Management Center 3.6 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.
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.
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 |
Set the JAVA_HOME environment variable in your .login or .cshrc file.