Configuration java development environment

The principle left behind as a memento, I also came along for the ride, to write an archive with

First, download jdk

Paste the URL, are generally used in the standard version is javaSE
JavaSE
will then see this screen, click to accept the license, and found their computer version of the corresponding installation package downloaded ok.

Second, the installation

1. If you are installing the package, click on the ok to install
2, if it is compressed format, unzip to where you want to install the next step on the line
as shown below
Here Insert Picture Description

Third, configure the environment variables

1, right this computer, click Properties
Here Insert Picture Description
2, click Advanced System Settings
Here Insert Picture Description
3, click Environment Variables
Here Insert Picture Description
4, click New system variable to
Here Insert Picture Description
5, this is a new variable namedJAVA_HOMEVariable value of your java installation position
Here Insert Picture Description
6, this is the new, variable names areCLASSPATHVariable value ==;.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar; ==
Here Insert Picture Description
7, locate the file namedPathVariable behind it to add ==;% JAVA_HOME% \ bin; % JAVA_HOME% \ jre \ bin; ==
Note semicolon, do not forget

OK ok then all the way down to the
Here Insert Picture Description
last call out the small black box, enterjavawithjavac
Show the following message on the line
Here Insert Picture Description
Here Insert Picture Description

Published 25 original articles · won praise 0 · Views 119

Guess you like

Origin blog.csdn.net/weixin_45980031/article/details/103466023