Changing the JDK for a grid host

Use this procedure to change the JDK version used on a particular grid host. Note that any overrides at host, application, or node level to the JDK set in the grid properties will still be in place following this step, and will not be updated.

Changing the JDK will stop all running applications immediately and then will stop all grid nodes including the agent. This procedure should only be done in controlled circumstances since it will impact users of the application(s).

  1. Stop the Grid. See Stop the Grid.
  2. Open a command prompt and navigate to grid_root_installation_path\grids\gridName\
  3. Execute the ChangeJDK script passing the new JDK as parameter, for example:

    ChangeJDK c:\java\java17 (Windows) or ChangeJDK opt/java17 (*ix).

  4. Repeat for all grid hosts you want to change the JDK for.
  5. Start the Grid. See Start the Grid.