1.Windows-Preference
2.Java-Installed JREs 中选中JRE点edit
3.找到路径结尾为:lib\rt.jar左侧箭头展开
4.选择Source Attachment:(none)为其添加JDK目录,要添加的是src.zip
5.Finish后Apply and close结束操作
6.查看源码按F3
2023-12-05 23:46:52
1.Windows-Preference
2.Java-Installed JREs 中选中JRE点edit
3.找到路径结尾为:lib\rt.jar左侧箭头展开
4.选择Source Attachment:(none)为其添加JDK目录,要添加的是src.zip
5.Finish后Apply and close结束操作
6.查看源码按F3