Skip to main content

logoCorrectSize.png

Workday Adaptive Planning Knowledge Center

Swap from Oracle JDK to OpenJDK for Data Agents

Explains how to swap from Oracle JDK to OpenJDK for Data Agents.

You can swap from the Oracle JDK to an OpenJDK without uninstalling your Data Agent. Swapping from Oracle can help you avoid the licensing fees associated with using the Oracle JDK. By default, the Data Agent installer will install the Oracle JRE if it does not detect a valid JDK on your system. 

Several organizations provide OpenJDK build downloads, including:

Prerequisites

  • Verify the Data Agent Service Manager v7.1.44 or newer is installed on your local computer.
  • Verify you have local rights on your computer to install OpenJDK.
  • Make a note of your Data Agent Service Manager version.
  • Download a 64-bit OpenJDK build for use with Pentaho Kettle.

Navigation

Navigation Icon5.png These steps take place on your local computer. 

Swap the JDK for Data Agent Service Manager

To swap the JDK and continue using your existing data agents:

  1. Stop the Adaptive AgentService in the Windows Services Manager. 
  1. Close the Data Agent Service Manager and the Adaptive Script Editor
  1. Uninstall the Oracle JRE/JDK and restart your computer.
  2. Download and install an OpenJDK (.msi or .exe).
  3. Make sure you select these OpenJDK installation options in Custom Setup in the installation wizard:
  • JAVA_HOME
  • JAR Files Association
  • Registry

OpenJDK Installation Options 

  1. Complete the installation.
  2. Restart your computer.
  3. Open the Data Agent Service Manager and verify your existing Data Agents started.

Troubleshoot Opening Data Agent Service Manager v7.1.44

If  Data Agent version 7.1.44 will not open after you swap the JDK:

  1. Right click on Data Agent Service Manager in the Windows start menu.
  2. Select More > Open file location and select  C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Workday Adaptive Planning Data Agent. For data agent versions 7.1.44 and older select  C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adaptive Data Agent.
  3. Right click on Data Agent Service Manager in the file explorer and select Properties.
  4. Change the Target value to indicate the location of the new OpenJDK you installed. This target path to your javaw.exe will vary based on your OpenJDK installation location. Example: If you installed the RedHat OpenJDK, you would indicate: "C:\Program Files\RedHat\java-1.8.0-openjdk-1.8.0.232-3\bin\javaw.exe" -jar "C:\Program Files\Workday Adaptive Planning Data Agent\AgentManager-1.0.0.jar" . For older versions you would indicate,  "C:\Program Files\RedHat\java-1.8.0-openjdk-1.8.0.232-3\bin\javaw.exe" -jar "C:\Program Files\Adaptive Data Agent\AgentManager-1.0.0.jar". 
  5. Select Apply and OK.
  • Was this article helpful?