8.9.2.3 Manually Update the JDK Package on Oracle Exadata System Software Release 12.1.2.2.1 and Later

Update the JDK 8 package to the latest release by downloading the latest version of the package and using the rpm utility to install it.

Before starting this step, make sure you have completed the steps in Stop the MS Process.

With Oracle Exadata System Software release 12.1.2.2.1 and later, the Oracle Exadata servers includes the JDK 8 package installed as an RPM.

Following any upgrades to the server image (using dbnodeupdate or patchmgr),check the JDK version. If the JDK package is reverted to an older version during the upgrade, then use the procedures here to update the JDK package to the latest version.

  1. Download the latest version of JDK 8 using the links found in My Oracle Support Doc ID 1439822.1. Download only JDK 8 updates.
  2. Extract the contents of the ZIP file.
  3. Locate the JDK RPM.
    The name of the file is similar to jdk-version-linux-x64.rpm, for example jdk-8u172-linux-x64.rpm.
  4. Copy only the RPM file to the target server.
    The file can be placed in a temporary directory, such as /tmp.
  5. As the root user, determine the current version of the installed JDK RPM.
    # rpm -qa|grep jdk
    jdk1.8.0_66-1.8.0_66-fcs.x86_64
  6. If the JDK package is installed and needs to be updated, then use the rpm command to install the update.
    # rpm -Uvh /tmp/jdk-version-linux-x64.rpm
  7. Verify the JDK package was updated.

    With JDK 8, the updated package does not replace the currently installed package, so you will see two version of the JDK package installed.

    # rpm -qa | grep jdk
    jdk1.8.0_66-1.8.0_66-fcs.x86_64
    jdk1.8.0_172-1.8.0_172-fcs.x86_64
  8. Remove the older JDK package from the server.
    If the older version was update 66, then the command would be as follows:
    # rpm -e --nodeps jdk.1.8.0_66-1.8.0_66-fcs.x86_64
  9. Verify only the updated JDK is available on the server.
    # rpm -qa |grep jdk
    jdk1.8.0_172-1.8.0_172-fcs.x86_64
  10. Removed the staged update file.
    # rm -f /tmp/jdk-version-linux-x64.rpm
To complete the JDK update, continue with the steps in Reconfigure and Restart Management Server (MS).