Eclipse has been in the computing additional info (after JDK change) solution, computingjdk
After JDK7 was changed, the automatic completion function became invalid when the Code was written. The computing additional info ...... The following is a solution found on the Internet, which is available for test:
The reason is that the content assist function is used. eclipse will find the java source code, first find it locally, and then find it on the internet. By default, java source code is unavailable locally. Computing additional info indicates the source code of java on the internet.
Solution:
1. Find the src.zip file under the JDK installation directory;
2. Open eclipse: Window Menu-> Preference-> Java-> Installed JREs;
3. Select the JRE you are using in eclipse in the list, and then Edit;
4. Select rt. jar and click "Source Attachment". In the displayed dialog box, select "External File". Then, associate the src.zip File under your JDK installation directory with rt. jar.
I have encountered this problem before. I recently used eclipse3.5, but I forgot how to solve it. So I recorded it here. In addition to jre, other third-party jar packages cause this situation, and the solution is the same.