Views:

Applies To:

GroupID 9 & 10

Business Scenario:

GroupID10 is shipped with an old version of Oracle Java Runtime Environment (JRE), which is vulnerable to security risk. Oracle requires paid upgrades to update to the latest JRE for commercial use. GroupID doesn’t require the Oracle-based JRE and we can easily switch to any OpenJDK-based JRE. We recommend using Azul Zulu since it is open-source, easy to implement, and uses the latest versions of OpenJDK JRE. 

Explanation:

In our environment, Oracle Java upgrades for commercial use require a paid option. To use the latest updates from a reputable provider for free, we have shifted to Azul Zulu JRE, which is also included in the latest GroupID 10 build.

To upgrade Oracle JRE in GroupID 9, simply follow the steps below and update it to the latest version.

Steps:

  1. Go to the following link to download the latest Zulu JRE. The last tested version is 8u312b07.
    Download Zulu Java 8

  2. Scroll to the bottom and download the latest version of the JRE package.

  3. Download and install the Zulu JRE using an installer.

  4. Once downloaded, open the MSI package and install the Azul Zulu with all of the options checked. 

  5. After completing the installation, right-click My PC and select Properties > Advanced System Settings > Advanced tab > Environment Variables.

  6. Select JAVA_HOME and make sure it is pointing to the correct location. "C:\Program Files\Zulu\zulu-8\jre

  7. If it is already pointing to the correct path, then you're good to go. If not,

  8. Give the correct path to the Zulu installation directory and the JRE folder, which is included in the Zulu folder. It is as:

  9. Make sure both the highlighted paths are correct.

  10. Click OK.

Verify Registry Keys

  1. If the Azul Zulu has been successfully installed, it will automatically update the JAVA registry keys. To make sure the keys are present, please look under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8 and JavaHome should be pointing to the Zulu installation directory. 

  2. Azul will add its version in the Java Runtime Environment > CurrentVersion which sometimes causes issues with the GroupID configuration tool and prompt you an alert "Missing Java Runtime Environment 8".
    To avoid any compatibility issues and fix that error with the GroupID configuration tool simply change the value of Java RunTime Environment > currentversion to "1.8" as shown in the figure below. 

  3. Once everything checks out restart the Elasticsearch and make sure it starts successfully. 

  • Once you have followed the above steps and verified the registry keys, simply export (Backup) the Java Runtime Environment registry keys and uninstall Oracle Java. This is just a precautionary step in case Oracle Java removes these keys. Normally this does not happen, if it does you can simply restore the keys. Alternatively, you can reinstall Azul Zulu and it will fix the registry keys. 

  • After you have uninstalled the Oracle Java, please restart the Elasticsearch and make sure no error pops up, in case there is an error you can contact us at support@imanami.com.

Reference:

GroupID Installation Guide

Comments (0)