Tutorial of how to setup your Java to be configured in your environment variable

--------------------------------------------------------------------------------

NOTE: If your OS is a 32 bit your JAVA_HOME and JRE_HOME with be through "C:\Program Files\Java", if your OS is a 64-Bit it will be though "C:\Program Files (x86)\Java (32-Bit) or C:\Program Files\Java (64-Bit)"

XX = Update version of your java

--------------------------------------------------------------------------------

1. Hit your Windows Key + E and your "Windows Explorer" should pop up.

2. Go to "Computer > System Properties > Advanced System Settings (The Blue Panel on the Left Side)"

3. System Properties dialog ox will pop up, click on "Environment Variables"

4. Create 2 variables, 1 called JAVA_HOME and one called JRE_HOME (JAVA_HOME isn't necessary unless you also have Java JDK installed on your PC)

5. In JAVA_HOME you will put the path to your Java JDK folder (e.g. C:\Program Files\Java\jdk.1.8.0_xx)

6. You will do the same thing for JRE_HOME except it will be jre.1.8.0_xx

7. Now edit your PATH variable and add this "%JAVA_HOME%/bin;%JRE_HOME%/bin;" without the quotes.