jdk1.8 download - Installation - Configuration

A: jdk1.8 download

  Baidu search jdk1.8 click on the red box shown in Fig.

 

 

 

   Click on the red box to complete the download

 

 

 Two: jdk1.8 installed

 

  Double-click the downloaded jdk1.8 enter the installation page

   Remember to modify the installation path

 

 

   May occur during the installation of the following circumstances (which can be ignored if it does not appear)

 

 

   Here I am in d: jdk1.8 folder prompted this folder is not empty, please select an empty folder

 

   Here I am in d: folder created a new empty folder jdkgengxin jdk1.8 file, then click Next

 

 

 

 

 

 

 

 Three: jdk1.8 Configuration

 

  To explain the role of the configuration environment variable, the operating system is to make clear aware of this program and its location. Right My Computer - Properties, select Advanced System Settings

  Select Environment Variables

 

   Click the New button under System Variables

 

   New System Variable: variable name: JAVA_HOME (on behalf of your JDK installation path), the value corresponds to the installation path of your JDK. Click the OK button

 

   New system variables: Click the New button to continue the system variables, a new CLASSPATH variable, which variable values ​​as shown below: variable name: CLASSPATH variable values:;.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ the tools.jar; Note that the variable value of the point in front of the English symbols

 

   Modify system variables: find the name of the system variables for the click Edit Path

 

 Click New to add the red part of the figure to the last line% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin; then has been click OK.

 

   Verify: java version java -version detection, wherein the following "1.8.0_201" as the jdk: WINDOWS + R keys, enter cmd, enter the command-line interface, input

 

   Validation: the input detecting jre javac successful installation is arranged as shown in FIG failure if

 

   Appears above tips is configured incorrectly, click New to create a user variable name in the user's PATH variable to uppercase value% JAVA_HOME% \ bin;

 

 

 

   之后  WINDOWS+R键,输入cmd,进入命令行界面,直接输入:javac  若是如图所示,那么就是代表jre安装成功了

 

   之后再次输入 java 若是如图所示,代表jdk安装成功了 

 

   这三种验证若是都通过了 就说明jdk下载安装配置成功了。

Guess you like

Origin www.cnblogs.com/flyinghome/p/12100571.html