Learning java together [2] --- some necessary preparations

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.