Versions Compared


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

Installing the JDK Software and Setting JAVA_HOME


  1. Download and Install the JDK software.
    1. Go to

    2. Select the appropriate JDK software (Java 14, 11 or 8) and click Download.

    3. The JDK software is installed on your computer, for example, at C:\Program Files\Java\jdk1.8.0_231. 

  2. Set JAVA_HOME:
    1. Right-click on My Computer and select Properties.
    2. On the Advanced tab, select Environment Variables.
    3. Under “System variables” click the “New…” button and enter JAVA_HOME as “Variable name” and the path to your Java JDK directory under “Variable value”.
  3. Update PATH
    1. In “Environment Variables” window under “System variables” select Path > click on Edit.
    2. In “Edit environment variable” window click “New”
    3. Type in  %JAVA_HOME%\bin
  4. Open terminal and type java -version . The output should look like :
    1. java version "1.8.0_151"
    2. Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
    3. Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)