Installing Java JDK

Download the JDK suitable for your OS from the download link given above and run the JDK installer.

By default, JDK is installed in directory "C:\Program Files\Java\jdk-14.0.1", Accept the defaults and follow the screen instructions to install JDK.


Use your "File Explorer", navigate to "C:\Program Files\Java" to inspect the sub-directories. Take note of your JDK installed directory jdk-14.0.1, in particular, which you will need in the next step.


Setting JAVA_HOME Environment Variable

  • Launch "Control Panel" > (Optional) "System and Security" > "System" > Click "Advanced system settings" on the left pane.


  • Switch to "Advanced" tab ⇒ Click "Environment Variables" button.


  • Choose "New"

  • In "Variable Name", enter "JAVA_HOME".
  • In "Variable Value", click "Browse Directory..." and navigate to the JDK installed directory (e.g., "C:\Program Files\Java\jdk-14.0.1").