Java JDK installation and configuration of the environment
Because I have to change a computer in the teaching and Research department, so it is necessary to reinstall all the Java and Android development of some of the environment and development tools, in the process of installing these tools, found that they are not skilled, but also need to follow the online tutorial to install, so decided to record, In case you later enter the company can be on their own computer quickly and easily install their own development of the necessary environment and tools.
The installation of the Java JDK takes note of the essentials of the environment's configuration as follows:
First: Download Java JDK installation package: Directly in Baidu input: Java JDK can
Second: Always click "Next" to install successfully
Third: Configuration of system environment variables
- First step: Set java_home first; variable name: java_home, Variable Value: D:\java\jdk1.7.0, which is the path of the JDK installation just now
- Step Two: Set the Path property, variable name: path, variable value:%java_home%\bin; note the semicolon problem.
- Step three: Set the CLASSPATH property, variable name: CLASSPATH, Variable Value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; At this point, it is important to note that there is a first.;, remember,%java_home% represents D:\java\jdk1.7.0 this path.
Finally, in the Doc window input: javac-version, if the output Java version information, then the installation is correct, if not, re-carefully check the environment variables are configured correctly.
More information about the Java JDK can be found here:
Http://blog.my-eclipse.cn/jdk-install-classpath.html
Http://jingyan.baidu.com/article/b24f6c82c989da86bfe5dab2.html
About Android the next time to write
Building the environment required for Java and Andorid development