How to Install Java JDK 1.8.0_77
1 – Download Java JDK 1.8.0_77
Go to Oracle Website and press Ctrl + F to open search box in the top right then type 8u77 and it will scroll to Java SE Development Kit 8u77 then scroll to Windows x64 then choose jdk-8u77-windows-x64.exe and download it .
2 – install Java JDK 1.8.0_77
After download java install it by press next next next and after installing java go to your PC icon and choose C Drive and choose Program Files folder and choose Java folder and choose jdk1.8.0_77 folder then copy folder path like this
C:\Program Files\Java\jdk1.8.0_77
3 – Setup Enviroment
in Taskbar open search box and type environment and choose Edit the system environment variables then choose Advanced and choose Environment Variables and in the User variables press New button and type in the Variable name JAVA_HOME and in the Variable Value
C:\Program Files\Java\jdk1.8.0_77
and press Ok and in the System variables do same thing and if System variables not available no problem after that Press Ok then Ok .