1、首先,打开Eclipse
2、点击上方导航栏中【Window】中【Perferences】
3、选择【Java】-【Installed JRE】
4、选中安装的JRE环境,点击【Edit】
5、点击如图所示的左边框,点击右边的【Source Attachment】
6、点击选择【External Location】,选择源码的位置,点击【OK】
时间:2024-10-12 18:53:38
1、首先,打开Eclipse
2、点击上方导航栏中【Window】中【Perferences】
3、选择【Java】-【Installed JRE】
4、选中安装的JRE环境,点击【Edit】
5、点击如图所示的左边框,点击右边的【Source Attachment】
6、点击选择【External Location】,选择源码的位置,点击【OK】