Manually configuring the Third Party Oracle Java repository

If the system on which you are installing Unified Manager does not have access to the Third Party Oracle Java repository, then you must manually download and configure the repository for a successful installation. Unified Manager supports the OpenJDK version of Java and the Oracle version of Java.

Before you begin

The following commands require that you have a subscription to the Red Hat Enterprise Linux Subscription Manager.

About this task

If you prefer to use the Oracle JDK, you can remove the OpenJDK files before installing Unified Manager.

Steps

  1. Optionally, remove the OpenJDK version of Java:
    If you are removing... Enter these commands...
    OpenJDK version 7 yum remove java-1.7.0-openjdkyum remove java-1.7.0-openjdk-headless
    OpenJDK version 8 yum remove java-1.8.0-openjdkyum remove java-1.8.0-openjdk-headless
  2. Enter the appropriate command to enable the Third Party Oracle Java repository:
    If you are using... Enter this command...
    Red Hat 6 systems subscription-manager repos --enable rhel-6-server-thirdparty-oracle-java-rpms
    Red Hat 7 systems subscription-manager repos --enable rhel-7-server-thirdparty-oracle-java-rpms