The leader requires Java to do interface testing, so the first step is to build the Java development environment first.
First step: Install the JDK
1, understand
JVM (Java virtual Machine-java vm)
JRE (Java runtime Environment-java Runtime Environment)
JDK (Java Development Kit-java Development Kit)
2. The JDK contains the JRE and JVM, so installing the JDK installs the JRE and JVM,JDK installation package refer to the Oracle official website address download: http://www.oracle.com/technetwork/java/javase/ Downloads/index.html
(Many versions, choose the appropriate version and the system for installation.) Installation steps Step by step next is good. Remember the above to choose Accept, otherwise cannot download yo. )
Step Two: Configure Environment variables (Control Panel--user account--change user account--Change my environment variable on the left)
Java_home Configuring the JDK installation path
PATH to configure the location of the JDK command file
CLASSPATH Configuring the location of a class library file
1. Java_home: The system variable is not java_hone this variable, you need to edit the following: (Variable value is the installation address of the JDK.) )
2. PATH: (Address of the bin under JDK)
3.CLASSPATH: (Address of the JDK under Lib)
--with "." Represents the current path
--with ";" Separated
--Enter the path of BIL
Step three: Verify that the Java environment is configured successfully
Win+r---cmd---Java or javac, congratulations on your successful configuration, you can start your Java coding journey.
Configuring the Java Development environment