Describe
This article focuses on building a Java development environment based on Windows 10 system, the main contents are as follows:
(1) Installation Information preparation
(2) Explain the installation process
(3) test whether the installation is successful
(4) Hello Word Test
1 Mounting Material preparation
Before the Java development environment is built, you need to prepare the JDK and eclipse.
1.1 JDK
: http://www.oracle.com/technetwork/java/javase/downloads/index.html
1.2 Eclipse
: http://www.eclipse.org/
2 installation Process Explained
JDK Installation (remember the installation of the road, in the environment variable configuration required) and Eclepse are all part of the idiot-type one-click installation, here is skipped, a general explanation of the Windows 10-based system environment variable configuration.
Configure three environment variables: Home,classpath,path
Add Java_home variable
Install the JDK path: "C:\Program Files (x86) \java\jdk1.8.0_144"
Java_path Variable Configuration
If there is a path variable, add the following header: "%java_home%\bin;%java_home%\jre\bin;", if it does not exist, create a new variable path and add "%java_home%\bin;%java_ Home%\jre\bin;"
Java_classpath Variable Configuration (if you use more than 1.5 versions of the JDK, you can compile and run the Java program without setting the CLASSPATH environment variable.) )
Add Java_classpath Variable Value ".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;"
3 test whether the installation was successful
Win+r, input cmd
Type the command: java-version,java,javac Several commands, the following message appears, indicating that the environment variable configuration is successful;
Enter Java-version (test JDK is installed successfully)
Input Java
Input javac (test environment variable is configured successfully)
4 Hello Word Test
Slightly.
5 Copyright Area
- Thank you for your reading, if there are shortcomings, welcome advice, common learning and common progress.
- Bo main website: http://www.cnblogs.com/wangjiming/.
- A very small number of articles using reading, reference, reference, copying, copying and pasting into a variety of ways, most of the original.
- If you like, please recommend, if you have new ideas, welcome, email: [Email protected].
- The blog can be reproduced, but must be well-known from the blog source.
"Java Series" Java Development environment construction