JAVA technical summary one (JDK installation)

Since the original intention of writing the article is to facilitate review, the relevant principles and historical events will not be described in key points.

1. JDK installation

Here I installed jdk-7u79-windows-x64.exe, and its installation process is not much different from general applications, so I won't say much here.

2. Configure environment variables

Compared with installing JDK, the configuration of environment variables is a little more complicated;

The configuration of environment variables should be in the bin directory of the JDK you installed. Since the computer can have multiple JDKs, all the JDKs you configure are the JDKs you want to use; the specific operations are shown in the following figure:


Then you can check whether the configuration is successful under dos: java-version

You can also check whether java_home is set: set java_home

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326241451&siteId=291194637