1. Gote This PC 2. Right click and click on properties 3. Then click on Advance system setting 4. Then click on Enviormental variables 5. Under system variables click on NEW 6. Variable Name Shoule "JAVA_HOME" 7. Variable Value should "Path of jdk" (Like C:\Program Files\Java\jdk1.8.0_201)