Configuring OpenJDK 11 Non-Installer Version

Follow these steps to install the Open JDK non-installer version:

  1. Download the artifacts from the Oracle site for OpenJDK 11.

  2. Update the environment variables ‘Path’ with the downloaded location of OpenJDK 11 up to the bin folder.

  3. Configure the Registry as follows:

    • Enter regedit in the Run prompt. The Registry editor is shown.

    • Navigate to HKEY_LOCAL_MACHINE > SOFTWARE, right-click Create Key > JavaSoft and click Create Key ‘JDK’.

    • Create a new string value CurrentVersion. Update the string value with the downloaded JDK version.

    • Right-click HKEY_LOCAL_MACHINE > SOFTWARE > JavaSoft > JDK.

    • Right-click and create the key 11.0.

    • Right-click the key 11.0 and create a string value JavaHome. Update the string value with the downloaded Java artifacts path.

    • Right-click the key 11.0 and create a string value RuntimeLib. Update the string value with Java Download path – \bin\server\jvm.dll.

    • Right-click HKEY_LOCAL_MACHINE > SOFTWARE > JavaSoft > JDK.

    • Right-click and create a key with the JDK 11 downloaded version.

    • Right-click the JDK 11 downloaded version key and create a string value JavaHome. Update the string value with the downloaded Java artifacts path.

    • Right-click the JDK 11 downloaded version key and create a string value RuntimeLib. Update the string value with Java Download path – \bin\server\jvm.dll.