Eclipse has been computing additional info (after the JDK has changed) solution

Source: Internet
Author: User

Before changing the JDK7, suddenly occurred in the writing code, the automatic completion of the function expires, pop up computing additional info ... Balabala tips, the following is a Web-based solution, pro-Test available:


The reason is that with the Content Assist feature, Eclipse will look for Java source code, first find it locally, and then go to the Internet. Local default is the source code without java. Computing additional info represents the source code for Java in search of the Internet.

Workaround:
1. Locate the Src.zip file in the JDK installation directory;
2. Open the Eclipse:window menu->preference->java->installed JREs;
3. Select the JRE you are using in the list, and then edit;
4. Select Rt.jar, then click on the "Source Attachment" button, select "External file" after the popup dialog, and then associate the Src.zip file in your JDK installation directory with the Rt.jar.

Previously encountered this situation, recently changed eclipse3.5 use, and there is this situation, but forget how to solve, so record it. In addition to the JRE, other third-party jar packages cause this to happen with the same workaround.

Eclipse has been computing additional info (after the JDK has changed) solution

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.