Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace-CSDN博客

网站介绍:文章浏览阅读1.8k次,点赞2次,收藏10次。创建项目后报错:Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that arestrictly compatible with this environment.解决方法:右键当前项目,选择 properties,在新窗口中选择 java build path,然后切换到 Libraries 选项卡,移除“JRE System Library[J2S_build path specifies execution environment javase-1.7. there are no jres ins