最近换用了eclipse 3.4, 发现打开用上一会后就开始在右下角computing additional info,打开 progress,里面同时有好几条一样的信息,但是一直也执行不完,原来以为是新版本的问题,后来上网查 找方案,发现原来是用了content assist (也就是,按下alt + / ,会出来代码提示)的功能造成的。 eclipse会去查找java的源代码,首先在本地找,然后到internet上找。本地默认是没有java的源代码。 computing additional info表示在搜索internet上的java的源代码。
解决办法:
1. 找到你的JDK安装目录下的src.zip文件;
2. 打开eclipse: Window菜单->Preference->Java->Installed JREs;
3. 在列表中选择你eclipse正在使用的JRE,然后Edit;
4. 选择rt.jar,然后点击"Source Attachment"按钮,弹出对话框后选择"External File",然后把你的 JDK安装目录下的src.zip文件与rt.jar关联上;
computing additional info的提示就不会再出现了,而且在代码中选择了JDK原生的类或方法时,按F3也 可以找到对应Java的源代码。
分享到:
相关推荐
Focusing on implementation rather than theory, 'Statistical Computing with R' serves as a valuable tutorial, providing examples that illustrate programming concepts in the context of practical ...
Introduction to Computing Systems from Bits and Gates to C and Beyond.pdf 2nd Edition [English] 本书是计算机系统概论的英文原版,计算机科学的经典基础教材。全书以自底向上方法帮助学生理解计算机系统的原理...
java distributed computing.pdfjava distributed computing.pdf
Eclipse IDE for Scientific Computing
Cloud Computing: Web-Based Applications That Change the Way You Work and Collaborate On-Line Computing as you know it has changed. No longer are you tied to using expensive programs stored on your ...
Focusing on implementation rather than theory, 'Statistical Computing with R' serves as a valuable tutorial, providing examples that illustrate programming concepts in the context of practical ...
云计算手册,could computing云计算手册,could computing云计算手册,could computing
Self-Aware Computing Systems ISBN-10 书号: 3319474723 ISBN-13 书号: 9783319474724 Edition 版本: 1st ed. 2017 出版日期: 2017-01-23 pages 页数: (722 ) $219.99 This book provides formal and informal ...
Cloud computing Security challenges
IPython Interactive Computing and Visualization Cookbook contains many ready-to-use focused recipes for high-performance scientific computing and data analysis. The first part covers programming ...
MATLAB 2017b Parallel Computing Toolbox官方教程,包含用户手册和系统管理
The basic ideas and principles of granular computing (GrC) have been studied explicitly or implicitly in many fields in isolation. With the recent renewed and fast growing interest, it is time to ...
HCIP-Cloud Computing V5.0 培训文档.pdf HCIP-Cloud Computing V5.0 实验手册.pdf
Numerical Computing with MATLAB
Numerical Analysis Mathematics of Scientific Computing
Computing With Spatial Trajectories
Publisher: Morgan Kaufmann;...•Understand the evolution of cloud computing and why the cloud computing paradigm has a better chance to succeed than previous efforts in large-scale distributed computing
Distributed and Cloud Computing: From Parallel Processing to the Internet of Things, named a 2012 Outstanding Academic Title by the American Library Association's Choice publication, explains how to ...
Cloud Computing Networking