首页 > 编程语言 >eclipse Java compiler level does not match the version of the installed Java project facet.

eclipse Java compiler level does not match the version of the installed Java project facet.

时间:2023-02-14 11:37:44浏览次数:42  
标签:JRE Java -- eclipse facet version Build Path

 

eclipse Java compiler level does not match the version of the installed Java project facet.

CreateTime--2018年4月24日10:28:43

Author:Marydon

1.情景再现

eclipse Java compiler level does not match the version of the installed Java project facet._eclipse

2.选中项目-->右键-->Build Path-->Configure Build Path;

eclipse Java compiler level does not match the version of the installed Java project facet._后台开发工具_02

3.Java Build Path-->选中"JRE System Library"-->Edit;

eclipse Java compiler level does not match the version of the installed Java project facet._右键_03

4.选择"Alternate JRE",也可以选择"Workspace default JRE"-->Finish-->Apply;(我设置的是工作空间默认项)

eclipse Java compiler level does not match the version of the installed Java project facet._右键_04

5.Java Compiler-->下面说的是currently 1.7-->所以将1.5改为1.7-->Apply;

eclipse Java compiler level does not match the version of the installed Java project facet._后台开发工具_05

6.Yes-->OK即可。

eclipse Java compiler level does not match the version of the installed Java project facet._eclipse_06

 

 

 相关推荐:

  • ​​eclipse 配置多个jdk(jre)​​

 

 

 作者:​​Marydon​​ 



标签:JRE,Java,--,eclipse,facet,version,Build,Path
From: https://blog.51cto.com/u_15964717/6056413

相关文章