工作空间中没有安装与此环境严格兼容的JRE
我在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**.
打开项目的Properties并选择Java Build Path
,查看Libraries
选项卡。 选择JRE System Library
条目,然后单击Edit...
按钮。 从“编辑库”对话框的列表中选择更合理的执行环境或JRE。