平时在eclipse中遇到JDK的一些源码,
可能会有无法查看的情况,
source not found
1、点击Attach Source…按钮
(在Class File Editor中)
2、External location → External File…
找到我们JDK安装的目录,在它下面会有一个source.zip,
3、选中 → ok,应用。
平时在eclipse中遇到JDK的一些源码,
可能会有无法查看的情况,
source not found
1、点击Attach Source…按钮
(在Class File Editor中)
2、External location → External File…
找到我们JDK安装的目录,在它下面会有一个source.zip,
3、选中 → ok,应用。