Updating the JDK version

Caution: 
Installing a later version of the Amazon Corretto JDK uninstalls the previous version. Because of that, your Enterprise Connector is down during the upgrade process unless you have a multi host deployment environment. If you have a multi host deployment, execute this procedure at each host.
  1. Run the StopHost command in the bin folder to stop the Enterprise Connector Grid Host.
  2. Perform these actions, as appropriate, to stop the Enterprise Connector bootstrap service:
    • On Windows, stop the Infor ION Grid <EC installation folder> service.
    • On Linux, run the /etc/init.d/grid_<EC installation folder> stop command.
  3. Install the new JDK version.
    Note: If you install the Enterprise Connector on Linux, ensure that you make these changes in your JDK's java.security file:
    • #securerandom.strongAlgorithms=NativePRNGBlocking:SUN
    • securerandom.strongAlgorithms=NativePRNGNonBlocking:SUN

    The java.security file of your JDK is typically located in <JDK folder>\jre\lib\security.

  4. Edit the <Enterprise Connector installation>/bin/ChangeJDK.cmd file with the updated Amazon Coretto path: ex. C:\Program Files\Amazon Corretto\jdk1.8.0_422\bin\java.
  5. Open an elevated command line prompt. CD into your <Enterprise Connector installation>/bin/ directory.
  6. Run this command with the desired JDK path inserted between the quotations:
    ChangeJDK.cmd "C:\Program Files\Amazon Corretto\jdk1.8.0_422"
  7. Run the <Enterprise Connector installation>/bin/ChangeJDK script with the new JDK as a parameter. For example, ChangeJDK "C:\Program Files\Amazon Corretto\jdk17.0.12_7".
  8. Run the bootstrap service by performing these actions as appropriate:
    • On Windows, run the Infor ION Grid <EC installation folder> service.
    • On Linux, run the /etc/init.d/grid_<EC installation folder> start command.
  9. Run the StartHost command in the bin folder to start the Enterprise Connector Grid Host.
  10. Repeat steps 1-7 for each Enterprise Connector host.
    For more information, see the "Changing the JDK for a grid host" topic in the Infor ION Grid Administration Guide.