【eclipse】用Eclipse编程时,查看源代码,显示Source not found问题的解决方法。

来源:互联网 发布:老虎证券 知乎 编辑:程序博客网 时间:2024/06/06 19:13

用Eclipse编程时,查看源代码,显示Source not found问题的解决方法。

Eclipse-->"Windows"-->"perferences"
选择JAVA-->"Installed JREs"
在右侧选择"Name"下的"jre1.8.0XXXX',点击右侧"Edit"
在弹出窗口中选择尾缀为"\rt.jar"展开,"Source attachment"双击打开,点选"External location"选择Path为/Java/jdk1.8.0/src.zip
确定即可成功


0 0