Hi Ritik
Open the old Control Panel (click your Start Button, then just type control and hit Enter
Go to System - Advanced System Settings
On the resulting dialog, choose the Advanced tab - Environment Variables
Then highlight the Path variable in the 'System variables' section and click Edit
Add the path lines with the path : 'C:\Program files\Java\jre1.8.0_60\bin'
(Check this is the correct path in your Program Files\Java directory)
Relaunch the installer again . . .
.