1. Windows-->Preferences-->Java-->Installed JREs
选中jre,点击“Edit”
2. 选中rt.jar,点击“Source Attachment”
3. 选中 External location,选择{JAVA_HOME}/src.zip
2022-10-23 21:17:02
1. Windows-->Preferences-->Java-->Installed JREs
选中jre,点击“Edit”
2. 选中rt.jar,点击“Source Attachment”
3. 选中 External location,选择{JAVA_HOME}/src.zip