December 12, 2018

How to Setup the JAVA_HOME Environment Variable on Windows

Java Logo

This instruction will show you to set up the JAVA_HOME environment variable on Windows. First you have to find the path to the Java development kit (JDK) on your system. Please use this path for the JAVA_HOME environment variable in the last step of this instruction.

Setup the JAVA_HOME Environment Variable

  • Right click on the My Computer icon on your desktop and select properties
  • Click the Advanced tab
  • Click the Environment Variables button

  • Under System Variable, click New

  • Enter the variable name as JAVA_HOME
  • Enter the variable value as the install path for the Development Kit
  • Click OK
  • Click Apply Changes

Speak Your Mind