Tutorial: JAVA_HOME Setup on Windows
Setting up the JAVA_HOME
Often during Java programming, it is essential that the system knows the location of Oracle JRE/JDK (JAVA_HOME).
Thus, there is a need to the setup this path in the environment variable.
STEP-01: Go to the "Advance Setting" for environment variable
STEP-02: Add a new path variable, JAVA_HOME and give the JDK location
STEP-03: Click apply and close