...
A typical path is: C:\Program Files\Java\JDK_1.8.0_<version>\bin
Setting up JAVA_HOME in Windows (steps might vary with Windows version):
- Click Start > Control Panel > System
- Click Advanced > Environment Variables
- Scroll through the fields until you find JAVA_HOME, if it's not present, Add it to the System variables.
- Add the location of the JDK root folder to the value of JAVA_HOME in System variables.
A typical path is: C:\Program Files\Java\JDK_1.8.0_<version>