Installation tutorial and environment configuration of Java development environment!

The first step in Java development is the installation environment and configuration environment. Xiaoqian will introduce to you the installation tutorial and environment configuration of the Java development environment today.

1. Installation tutorial

1. Go to the official website to download the JDK corresponding to the computer, this step will not be repeated.
Insert picture description here

2. After downloading, it is the installation step. The installation step is relatively simple. The next step is to pay attention to the installation path. It will be used when configuring the environment later.
Insert picture description here

Two, environment configuration

1. Right-click on the computer, select Properties-Advanced System Settings-Advanced-Environment Variables, and click once.
Insert picture description here

2. Then we click New on the opened environment variable page, and create a JAVA_HOME variable inside, the variable value is the path we just installed.
Insert picture description here

3. Then create a new variable, CLASSPATH, the value is .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar (note the beginning with .;), where %JAVA_HOME% refers to the JAVA_HOME variable just created Value of
Insert picture description here

4. Then we find the variable of path, double-click to open it, and add the bin directory of JDK and JRE in it.
Insert picture description here

5. Click New, and enter the variables in the figure below.
Insert picture description here
At this point, the installation is complete, and the environment is configured. Students can verify whether the installation is successful.

This article is from Qianfeng Education: http://wh.mobiletrain.org/ , please indicate the source for reprinting.

Guess you like

Origin blog.csdn.net/xiaoxijinger/article/details/114968059