jdk installation and environment configuration
Tip: java runtime environment configuration
jdk installation steps
1. Download jdk
first download a jdk, you can go to the following address to download
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
according to the system to select the corresponding installation file, 64-bit The system installs 64-bit jdk, 32-bit installs 32-bit jdk
2. Install jdk and
keep clicking the next step. Do not change the installation address or remember to change the installation address. The
default path of the directory is the directory I modified.
3. Configure the jdk environment
1 Right click this computer
2 Click Properties
3 Click Advanced System Settings
4 Click Advanced
5 Click Environment Variable Configuration
6 Click System Variables
(1) Configuration variable JAVA_HOME, the value is jdk path,
(2) The path path is the address copy of the bin after jdk
(3) Classpath environment configuration
**last step**
Verify that the jdk is installed successfully
1 Open the cmd command and
enter the java command
2 enter the javac command
, 3 enter the java-version command