Eclipse import of two JDK

Source: Internet
Author: User

Today want to see the source of HashMap, source code to see not very understand, want to combine online posts to see, found that many online are based on 1.6 write. and 1.8 of the source is not up, then installed jdk1.6 version, but 1.8 do not want to delete ~

1, in fact, and install the common JDK, no different;

2, but after the installation of 1.6, to be configured in a bit: add a bit

3. then create a new Java project, and note that the Java 1.6 version is selected :

Note: There can be only one JDK version under a project, so builder path is either 1.8 or 1.6,

If only to see the source, create a new project using Jdk1.6 ~ ~

4, then in the environment ctrl+shift+t, search a hashmap, such as:

Then you can have a pleasant view of the source ~ ~

Eclipse import of two JDK

Related Article

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.