JAVA installation built environment Raiders

1, the installation kit JDK

JDK toolkit is the most basic java development tools, many cases javaIDE tools: Eclipse, IntelliJ IDEA, NetBeans and JDK are dependent

1.1, JDK download and install

Here Insert Picture Description
Oracle opened the official website to download the corresponding address:
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
if your system is windows system then click Windows x64 download, of course, Linux \ mac OS X \ Solaris select Download.
It is recommended that aircraft over the wall, the country will be very slow and very slow, a few k count.

1.2 selection dialog downloadHere Insert Picture Description

1.3, the content of the JDK installation

JRE file is run java file, without a separate download, automatically generated after the installation is complete
Here Insert Picture Description

2, set the environment variable

2.1, win10 system open path (Control Panel \ All Control Panel Items \ System) into the windows system dialog box, click Advanced System Settings

Here Insert Picture Description

2.2, click Environment Variables, enter the environment variable settings dialog box, the user variables section, click "New", the system pop-up dialog box, the "variable name" to JAVA_HOME, "variable value" to the JDK installation path, and then add the CLASSPATH variable value is set,% JAVA_HOME% \ lib;% JAVA_HOME% \ lib \ tools.jar

Here Insert Picture Description
Here Insert Picture Description

3, the test environment is set up, through the command line javac, java command, then the environment settings can be found success

Here Insert Picture Description
Here Insert Picture Description

Published 19 original articles · won praise 85 · views 1343

Guess you like

Origin blog.csdn.net/qq_45828877/article/details/103331030