Java Development Environment preparation and java Development Environment
Java Development Environment preparation
Here, we will mainly talk about JDK configuration. JDK installation is the same as general application software installation. You can download and install JDK, but it is only available after installation. I believe that many beginners, just like me at the beginning, will directly click the Java icon on the desktop after JDK is installed. This behavior looks cute, but even for the current great Bull, he may have done the same thing before, but it is not funny. It is normal for every beginner. The reason why I focus on JDK configuration is really annoying. In fact, you only need to set the path for environment variable configuration. classpath can be ignored. The following is a specific illustration.
1. Copy the JDK installation path.
Find the bin folder of the JDK tool you installed, and copy the path of the folder. Take my configuration as an example. The bin folder path is C: \ Program Files \ Java \ jdk \ bin.
2. Right-click "my computer" and choose "properties"> "advanced"> "environment variable ".
3. Open the environment variable. If there is no path in the "user variable", create a new path, paste the installation path of the bin folder you just copied in path and press "OK" in "variable value.
If path already exists in your "User variable", double-click the path to open it, and copy the path of the bin folder to the beginning of other paths in the "variable value, add a semicolon and a dot after the path.
4. Check whether JDK is correctly configured.
Go to the program named "attachment", and enter java in DOS. The following English list is displayed:
Then, enter javac, and the following list of Chinese characters is displayed:
Http://my.oschina.net/mkh/blog/340689
You are welcome to repost original articles. Please indicate the source when reprinting.
Recommended articles by the author:
Java self-learning approach
Some suggestions for programmers
Summary five sort algorithms that are more efficient and commonly used
How to obtain system information
How to generate a QR code