Environment Construction:
Path: When executing Java commands, the system will go to the PATA configured path and look for the command to execute.
Purpose: To enable Java commands to be executed anywhere
---------------------------------------------------
Example: path=
C:\programfiles\java\jdk1.8.0_91\bin;%systemroot%\system32;%systemroot%;%systemroot%\sy Stem32\Wbem;%SYSTEMROOT %\system32\windowspowershell\v1.0\; C:\Program Files (x86) \ati Technologies\ati. ace\core-static; E:\Program Files (x86) \mysql\mysql Server 5.5\bin
-----------------------------------------------------
Or: Path=%java_home%\bin;%systemroot%\system32;%syste Mroot%;%systemroot%\system32\wbem;%systemro ot%\system32\windowspowershell\v1.0\; C:\Program Files (x86) \ati
Technologies\ati. ace\core-static; E:\Program Files (x86) \mysql\mysql Server 5.5\bin
-----------------------------------------------------
Installation path for Java_home:java
----------------------------------
Example: Java_home=c:\program files\java\jdk1.8.0_91
-----------------------------------
Classpath:java the path to the compiled class file and tells the virtual machine where to go to execute the Java file.
Once you have configured the path, you can execute the compiled. class file anywhere. If not configured, look for the. class file under the current path
-----------------------------
When you set the change file. No add; No, it will only be found in the Set directory, add the number, in the specified location can not find, will find in the current location
Classpath=.;D:/ CLASS
Classpath=d:/class;
-----------------------------
Temporary configuration of environment variables: Use the SET command, only valid in the current command window
Set is appended on the original basis
----------------------------
Example: Set path=e:\java;%path%
----------------------------
Daily a JAVA----------environment building Path,java_home,classpath