BatchBuilder in Windows - OpenJDK

Adjusting Windows Environment Variables for BatchBuilder and OpenJDK

Getting to Windows Environment Variables

  1. Open the File Explorer, scroll down until you see "This PC" and right-click on it;
  2. Select "Properties"
  3. In the "Settings" window that opens up, type "environment" into the search bar at the top;
  4. A search result should appear called "Edit the system environment variables";
  5. Select that and a ‘System Properties’ window should appear
  6. Click on the ‘Environment Variables…’ button 

OpenJDK in PATH:

Case 1: OpenJDK is in PATH

  1. In the System variables section (lower half of the Environment Variables window) select Path and click ‘Edit..’
  2. Select the line that has the location for OpenJDK on your computer
    1. E.g. C:\Program Files\OpenJDK\jdk-11.0.16.8-hotspot\bin
  3. Click on the ‘Move Up’ button until it is the top line
  4. Click OK

Case 2: OpenJDK is not in PATH

  1. In the System variables section of the Environment Variables window select Path and click ‘Edit..’
  2. Click on New button
  3. Copy directory location of OpenJDK into highlighted area,
    1. E.g. C:\Program Files\OpenJDK\jdk-11.0.16.8-hotspot\bin
  4. Select the newly created line that has the location for OpenJDK on your computer
  5. Click on the ‘Move Up’ button until it is the top line
  6. Click OK

Last step for either OpenJDK Case

  1. Click OK to get out of System Properties.

You may need to restart your computer for changes to take effect.