Eclipse 查看源码出现 The jar file rt.jar has no source attachment 解决方法
2017-05-24 16:52
603 查看
Eclipse 查看源码出现 The jar file rt.jar has no source attachment 解决方法
因为 rt.jar 的 source 在 jdk 目录的 src.zip 文件里,将文件设置为 jdk 下的 src.zip 就行了。具体如下 Window > Preferences > Java > InstalledJREs
选 jdk1.X,点 edit,jre systemlibraries 下面点 rt.jar 的那一栏,
然后选 source attachment . 在弹出的对话框里选入 src.zip 的路径 . 点击保存成功 !
下面图示 :
相关文章推荐
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- 3、eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- 【转】eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- 解决eclipse查看源代码出现The jar file rt.jar has no source attachment问题的方法
- eclipse查看不了源码(the jar file has no source attachment)解决方法
- 【图】解eclipse 查看原始类出现The jar file rt.jar has no source attachment
- [转]图解eclipse 查看原始类出现The jar file rt.jar has no source attachment
- 图解eclipse 查看原始类出现The jar file rt.jar has no source attachment
- 图解myEclipse 查看原始类出现The jar file rt.jar has no source attachment
- 解决eclipse中查看android工程代码出现android.jar has no source attachment
- 解决eclipse中查看android工程代码出现android.jar has no source attachment
- 解决eclipse中查看android工程代码出现android.jar has no source attachment
- 解决eclipse中查看android工程代码出现android.jar has no source attachment
- 解决eclipse中查看android工程代码出现android.jar has no source attachment
- The jar file has no source attachment解决方法。