First, install the JDK
1. 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 packages to the Oracle official Web site or to a third-party website for download, which is provided by the official:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
(Many versions, choose the applicable version, omit the installation process, the next step in the installation time)
Second, configure environment variables
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. My Computer (right-click)-Properties
2. Advanced system settings-environment variables
3, the system variable comes with no java_home this variable, need to edit the following:
(The variable value is the path to the JDK installation)
4, path in the system variable is already exist, check path--> edit
--First enter the path of the bin (separate the other paths with semicolons)
5, the system comes with the variable is no classpath, need to add
--with "." Represents the current path
--with ";" Separated
--Enter the path to BIL (e.g. my path is: C:\Program files\java\jdk1.8.0_60\lib)
Configuration here to the end, remember to press OK, not sure is not to save their own.
Third, verify the configuration environment variables
Open run Àcmdà input java/javac for verification (the effect of validation is as follows)
If you see this effect, congratulations on your configuration success.
Building the Java Development environment (Configuring the Java Development environment)