eclipse如何查看源码

方式一: 

Source not found

The JAR file X:xxxxxxxxxxxxxx has no source attachment.    没有源附件。

You can attach the source by clicking Attach Source below:     您可以通过单击附加源来附加源代码:

然后,在你安装的JDK路径中找到你的src文件,并选择,之后的事情就是一路的OK即可。

方式二:

window ---》 Preferences ---》Java ---》Installed JREs 

 

原文地址:https://www.cnblogs.com/greamrod/p/8491730.html