JDK8 is the latest version of the JDK, adding a lot of new features, if we want to use it, we need to download the installation:
JDK8 Installing under Windows XP is a bit problematic, so install under WIN7
WIN7 operating system has 32-bit and 64-bit, respectively to download the corresponding JDK8 version
32-bit: Jdk-8u5-windows-i586.exe
64-bit: Jdk-8u5-windows-x64.exe
WIN7
Jdk-8u5-windows-i586.exe
1. Go to the official website to download JDK8:
Click ' Jdk-8u5-windows-i586.exe ' to prepare for installation
Click ' Next ' to proceed with the installation:
Select the installation directory for the JDK and select the default installation:
In the installation:
Select the JRE installation directory:
Click ' Next '
In the installation:
Installation complete, next configure environment variables
Open Control Panel, click ' Advanced system settings---environment variables '
Configure the PATH variable first
Select the installation directory for JDK8: for example, I installed it under the D drive.
Input variable Value:;D: \java\jdk1.8.0_05\bin
Configuring the CLASSPATH variable requires configuration Tools.jar,dt.jar
The input variable value is:.;D: \ Java\jdk1.8.0_05\lib\tools.jar;d:\java\jdk1.8.0_05\lib\dt.jar
Test
Click ' Start-run '
Enter the cmd command to open the DOS window
Re-enter Javac
JDK8 environment variable JDK8 schematic installation JAVA8 installation