1Have you checked your environment variables for Windows? When you installed the
2JDK/JRE the directory should have been added to the PATH variable. The directory
3added needs to contain the java.exe executable. It should be located in
4C:\Program Files\Java or something like that if you installed it using the
5default settings. Once you find that directory find the bin directory inside it.
6
7In order to check that:
8
91. Right click My Computer and hit Properties
102. On the left side hit Advanced System Settings
113. Hit the Advanced tab and then Environment Variables down at the bottom
124. Find the PATH variable and then hit edit. Confirm that the location of the
13JDK /bin directory is there, if it is not then add it.
14
15Also, if the JAVA_HOME variable isnt already set, this may be a good idea
16
17https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html