Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the supported version of Java JDK. There are several vendors who source the supported JDK version as OpenJDK. Here are two suggested resources: 
    1. Oracle OpenJDK
    2. Adopt OpenJDK
      For more information about selecting an OpenJDK vendor click here
  2. Download the supported JDK version.
  3. When the download has finished, extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.
  4. Select Control Panel and then System.

  5. Set a PATH:

    1. Click Advanced and then Environment Variables.
    2. Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
    3. The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
    Select Control Panel and then System.
  6. Set JAVA_HOME:

    1. Enter the variable name as JAVA_HOME.
    2. Enter the variable value as the installation path of the JDK (without the bin sub-folder).
    3. Click OK.
    4. Click Apply Changes
  7. To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.

...