工作空间中没有安装与此环境严格兼容的JRE

use*_*822 13 java eclipse

我在eclipse中运行我的java项目后得到以下警告.

**Description Resource Path Location Type Build path specifies execution environment CDC-1.1/Foundation-1.1. There are no JREs installed in the work space that are strictly compatible with this environment**. 
Run Code Online (Sandbox Code Playgroud)

gre*_*449 18

打开项目的"属性",然后选择Java Build Path,查看Libraries选项卡.选择JRE System Library条目并单击Edit...按钮.从"编辑库"对话框的列表中选择更合理的执行环境或JRE.