How to Install Java JDK 1.8.0_77

How to Install Java JDK 1.8.0_77

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 .

4 - Check Java JDK 1.8.0_77 version in cmd

open search box in Taskbar and type cmd and choose it then type in cmd java -version you will find java version 1.8.0_77 make sure it end with 77 if not end with 77 go to search box in Taskbar and type control panel and choose it then choose Programs and choose Programs and Features and in the top right you will find search box type java and it will get all java version then let any java end with 77 (64- bit) and unistall any other version and after that open cmd and type java -version to check if java version end with 77 .