-- Start
1. Download and install Java SE
Log on to the official Oracle website to download the latest Java SE development kit, and install it as if other software was installed. It is worth noting that you should not select the default installation path, the default installation path contains spaces, which may cause some problems. suppose we install it in the path c: \ applications \ Java \ jdk1.5.0 _ 16.
2. Set the environment variable path
Right-click my computer, select Properties, select Advanced, environment variables, and modify the system variable path, add c: \ applications \ Java \ jdk1.5.0 _ 16 \ bin to the end of path.
Why do we need to add this directory to the path environment variable? If you look at this directory, you will find that this directory contains all executable files (.exe), where java.exe is located. When we execute Java-version, the system will search for the java.exe command in the directory specified by path. if we do not add this directory to the path, we can also execute the Java command, such as c: \ applications \ Java \ jdk1.5.0 _ 16 \ bin \ Java-version, isn't it very troublesome?
3. test whether the installation is successful.
Enter cmd in start and run, and enter Java-version in the pop-up dos dialog box to test whether the operation is successful.
4. Source Code
Java is open-source. After installation, We can find its source code: src.zip in the directory c: \ applications \ Java \ jdk1.5.0 _ 16. After learning Java to a certain level, looking at the source code is a good way to improve our Java level.
5. API documentation
Java API documentation is not distributed along with the installation package. Search for Java API in Google and select a document suitable for your version to read online. Of course, you can also download the documents that have been packaged by others, I recommend that you use online documentation.
---For more information, see:Java
--Shengming: reprinted, please indicate the source
-- Last updated on 2012-04-20
-- Written by shangbo on 2012-04-20
-- End