Reason: Windows cannot find your Java bin folder.
Is Java installed on your system?
To check if Java can be found on your system:
java -version
Java is installed but the PATH is not set
If it cannot find it, check your PATH and JAVA_HOME
environment variable.
%JAVA_HOME%\bin
should be contained in your PATH
variable.
To set JAVA_HOME, do the following:
- Right click on My Computer and select Properties
- On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1.6.0_02.
Reference: https://docs.oracle.com/cd/E19182-01/821-0917/inst_jdk_javahome_t/index.html