Versions Compared


  • 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, run the Java installer. At one point, you will be asked to choose a directory to install to. Make note of this directory for use later.Check that the JAVA_HOME environment variable has been set correctly.
  4. Open the 'Start' menu, choose 'Run', type cmd in the 'Run' dialog box and click the 'OK' button.
  5. In the command prompt window, type echo %JAVA_HOME% and then press Enter.
  6. View the result:
  7. If a directory path is displayed that looks similar to one of the following examples, with the letters 'jdk' immediately preceding a series of version numbers, and this path matches the location where you installed the JDK in step 3, then your JDK has been successfully installed and your JAVA_HOME environment variable has been set correctly. ''Examples of typical JAVA_HOME environment variable values'':
  8. C:\Program Files\Java\jdk11.0.2
  9. C:\Progra~1\Java\jdk11.0.2_9
  10. C:\Java\jdk11.0.2_9
  11. C:\jdk11.0.2
    If nothing is displayed or you do not see 'jdk' immediately followed by a series of version numbers (like one of the examples above), then you need to set the JAVA_HOME environment variable. Please follow these instructions to set your JAVA_HOME environment to the directory where you have just installed the JDK. By default, this directory is under C:\Program Files(x86)\Java for a 32 bit Windows System. You will find it under c:\Program Files on a 64 bit Windows system 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.
  12. 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"
  13. Select Control Panel and then System.

  14. 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
  15. To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.

Locate the JDK Installation Directory