Upgrading the Grid JDK in a single server installation

Follow these steps for updating a Corretto JDK version release. For example, updating from Corretto 8 JDK 1.8.0_362 to Corretto 8 JDK 1.8.0_382. You must use only supported Corretto JDK version releases for the Infor LTR version deployed. See Infor Local Technology Runtime Technical Documentation Library (On-premises) and select Installation > Infor LTR > Upgrade instructions > Before you start > Upgrading Infor LTR with Corretto JDK > Setting up the updated Corretto JDK before an upgrade.

  1. Download the zip file from the updated Corretto JDK.
    Caution: 
    Make sure that the zip file is downloaded. Do not download and run the MSI file, as it overwrites the older version of Corretto and interferes with the upgrade.
  2. Unzip the folder and copy every extracted file into this Corretto file path: C:\Program Files\Amazon Corretto
    Caution: 
    Do not delete the existing JDK folders.
  3. Update the PATH variable:
    1. Open the Control Panel and select System and Security > System.
    2. Click Advanced System Settings.
    3. Click Environment Variables on the pop-up window.
    4. Find and select PATH in the list. Click the entry of the current JDK file path bin folder.
      For example: c:\program files\Amazon Corretto[currentjdkversion]\bin
    5. Click Delete.
    6. Click New and specify the bin file path of the new JDK version.
      For example: c:\program files\Amazon Corretto[newjdkversion]\bin
    7. Click OK to save the information.
  4. Click the JAVA_HOME path and complete these steps:
    1. Open the Control Panel and click System and Security.
    2. Click Advanced System Settings.
    3. Click Environment Variables on the pop-up window.
    4. Find and select JAVA_HOME from the list.
    5. Input the JDK file path.
      For example: c:\program files\Amazon Corretto[newjdkversion]
    6. Click OK to save the information.
  5. Update the Grid JDK:
    1. Navigate to the [grid_root_installation_path]\bin folder.
    2. Run StopAllHosts.cmd.
    3. Open the command prompt.
    4. Change the directory to grid_root_installation_path\bin
    5. Execute changejdk as an administrator and use the new file path to the new JDK as the parameter.
      For example: changejdk "c:\program files\Amazon Corretto\[newjdkversion]"
    6. Run StartAllHosts.cmd.