Java 8

This section helps you to install Java 8 on your computer. Before start installing, ensure that you have downloaded the installer. Click here to download Java 8 installer.

Run the installer and follow the instruction wizard to complete the install.

Configuring Java Environment Variable

  1. Go to Start > Control Panel > System > Advanced system settings.
  2. On the System Properties dialog box, click Advanced tab.
  3. Click Environment Variables.



  4. On the Environment Variables window, under the System variables section, click New.
  5. In the Variable name, type JAVA_HOME.
  6. In the Variable value, set the path of JDK installed directory, for example, C:/Program Files/Java/jdk1.8.0.



  7. Click OK.
  8. In the System variables section again, click New.
  9. In the Variable name, type JRE_HOME.
  10. In the Variable value, set the path of JRE installed directory, for example, C:/Program Files/Java/jre1.8.0_121.
  11. Click OK.

Verifying Java Environment Variable

  1. Open Command Prompt and Run as administrator.
  2. Type the command:

    echo %JAVA_HOME%

  3. JDK installed directory indicates variables has been set successfully.
  4. Now, type the command:

    java –version
  5. Command will show the installed Java version number. Check the version displayed on the Command Prompt with the version installed. 
For a clustered environment, install Java 8 on other nodes following the same steps.

Next Step

Installing Apache Tomcat 9