Window – install Java

JDK Download

Official website: https://www.oracle.com/java/technologies/javase-jdk8-downloads.html

Baidu online disk:

Link: https://pan.baidu.com/s/1lSsmv5k1yNSHFzrVlqi8_g

Extraction code: uzmj

Install JDK

Remember your installation path!!

Remember your installation path!!

Configure environment variables

For Java program development, I mainly use two JDK commands: javac exe、java. Exe, main path: C: \ Java \ JDK 1.7 0 _ 09 \ bin [mainly the bin directory, which can be found in the JDK directory you installed]

Then configure the environment variables, computer - properties - advanced system settings

Configure environment variables

New - > variable name "java_home", variable value "C: \ Java \ jdk1.8.0_05" (i.e. the installation path of JDK) edit - > variable name "path", add ";% java_home% \ bin;% java_home% \ JRE \ bin" at the end of the original variable value, new - > variable name "classpath", variable value "..;% java_home% \ lib;% java_home% \ lib \ dt.jar;% java_home% \ lib \ tools. Jar"

Confirm environment configuration

CMD knock

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>