1. Click on File Explorer
2. Click on This PC icon and then click on Properties
3.Click on Advanced system settings
5. Advance system setting box will come
6.Click on New button under System variables and this line
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_75
7.Select Path variable and click on edit button. and update Path and at the end just update the java installation path including bin folder
Please done remove anything just append the details.