Installing the Java Development Kit (JDK)

Because the PPM Server is based on Java, the machine that hosts it must also host a Java Virtual Machine (JVM), which is part of the Java Development Kit (JDK). JDKs native to the operating systems supported by PPM are available from either Oracle or from the operating system vendor.

Note: You must install the complete JDK. The Java Runtime Environment (JRE) alone is not supported.

To install the JDK:

  1. Download the JDK for your operating system from Oracle or from your operating system vendor's Web site.

  2. Install the JDK according to the instructions provided by the vendor.

    Many operating systems require that you apply operating system-specific patches before you install the JDK. Make sure that you follow all instructions that the vendor provides.

    Some vendors provide custom installation packages that you can install automatically using a command such as pkgadd. Other vendors provide a TAR file that you must extract.

    Note: The directory path name must not contain spaces.

  3. Verify that your user name has the Java executable in its path by logging on and running the following the command:

    java -version

    This returns the Java version. If an error message is displayed, modify the path environment variable, as required.

  4. Verify that the JAVA_HOME environment variable is set correctly. If the path set for JAVA_HOME is not correct, set it to the correct value.