Install JDK SE 8.2.71 on Windows x86/x64

--

  1. Download JDK SE 8.2.71 from https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
Download JDK SE 8.2.71
Check Accept Oracle License and click Download jdk-8u271-windows-x64.exe
Sign-in Oracle Account, if don’t have an Oracle Account will create ones.
Save File

2. Installing JDK SE 8.2.71

Execute file jdk-8u271-windows-x64.exe
Click Next
Review JDK Path and Click Next
Waiting for JDK Install
Review JRE Path and click Next
Waiting for JRE Install
Click Close

3. Configure JDK SE 8.2.71

Press WIN + R, type SystemPropertiesAdvanced and Click OK
Click Environment Variables…
Click New… in System variables
Type JAVA_HOME as name and C:\Program Files\jdk1.8.0_271 as values and click OK
Will see JAVA_HOME variable
Select Path in System variables and click Edit…
Click New and type %JAVA_HOME%\bin and click OK
Select C:\Program Files (x86)\Common Files\Oracle\Java\javapath and click Delete and click OK
Click OK
Press WIN + R, type cmd and press Ctrl + Shift + Enter (to run as Administrator)
Type java -version press Enter and notepad press Enter
Write sample code HelloWorld
public class HelloWorld{  
public static void main(String[] args){
System.out.println("Hello world");
}
}
Save file name HelloWorld.java and type as All Files (*.*) and click Save
Type javac HelloWorld.java press Enter and type java HelloWorld

--

--