Configuring the installation and environment variables configuration for the Java development environment--JDK
Download JDK, the latest version of JDK 1.8 on line, download the connection itself Baidu, remember to install the corresponding version of your machine, 64-bit operating system download 64-bit, 32-bit operating system 32-bit.
Configure environment variables such as:
Click New, enter the variable name java_home, and the variable value for your Java installation directory (for example C:\Program files\java\jdk1.7.0_80) is as follows:
After setting, select Path this variable click Edit, add Java_home to the following:
The environment variable is now configured.
What is an environment variable?
Environment variables are for the system to indicate what a command is called to parse, such as when we call the Java command in the console, if you do not configure environment variables, will tell you that the Java command cannot be found, after configuration, The system will go to your configured directory to find the appropriate program to execute this command (the new version of Java in Windows can not match, but preferably with), the current Java configuration environment variables do not need to restart.
Getting Started with Java the first step: building a Java environment