1. Download the jDK. You can go to the official website or search for it on Baidu. The installed version is jDK 6 update 3; if you want to download it from the official website, I can provide a website:
Http://java.sun.com/javase/downloads/index.jsp;
2. When downloading, You must select a version that suits your operating system version. Some people may say that I have a different version. Isn't it quite helpful? I can only say that your character is too good. In many cases, versions that do not want to be matched will produce bugs. Therefore, we recommend that you make the best choice.
3. Pay attention to the Selection window during installation. We will only install the first three, and the next two will not be installed for the time being, the reason why JRE is not installed is that the first development tool already contains a JRE, which is enough for our use during the development process. Of course, there is a deeper reason, so I won't talk about it here, so that you may not be confused.
4. Click Next to install the SDK;
5. After the installation is complete, set the environment variables. Remember the password: Add and modify it;
All added are: path name;
6. After the configuration is complete, verify whether the installation is complete. Therefore, enter the command: java; javac in cmd;
7. Because these two commands are very important during java program execution, an important criterion for verifying whether your JDK is successfully installed is to check whether the two commands can be successfully executed;
Author: "Li Yuan Cao"