Installing Java 8 on the Resource Manager master host

This procedure installs Java 8 alongside Java 6 on a Resource Manager master host. Resource Manager version 4.2.x requires Java 6, and this release of the Service Impact server requires Java 8.
Do not perform this procedure if you are upgrading a dedicated host deployment.
  1. Log in to the Resource Manager master host as root, or as a user with superuser privileges.
  2. Download the RPM file of latest Oracle Java SE Runtime Environment (8u121 or later) from the Java SE 8 Downloads page.
  3. Install the Java 8 package, except the jexec utility. Replace Package_name as necessary.
    rpm -ivh --excludepath /etc/init.d/jexec Package_name.rpm
    The Service Impact server does not use the jexec utility, so the Java 6 version can remain in place.
  4. Set the default version for Resource Manager to Java 6.
    • For Resource Manager version 4.2.4:

      rm /usr/java/default
      ln -s /usr/java/jre1.6.0_31/ /usr/java/default
    • For Resource Manager version 4.2.5:

      rm /usr/java/default
      ln -s /usr/java/jre1.6.0_45/ /usr/java/default
  5. Create a link to Java 8 for the Service Impact server, replacing Version with the version of the package you installed.
    ln -s /usr/java/jre1.Version /usr/java/zenoss_impact