网站介绍:文章浏览阅读2.4k次。The compiler compliance specified is 1.7 but a JRE 1.8 is used。原因:你安装的jdk里面的jre 和你eclipse设置的jre 不同。解决:法①window->preferences->Java->Installed JREs, 然后更改版本。法②右键点击你建立的项目 >Properties>Java Compiler>将Compiler compliance level改为1.8 ,再点击Apply_the compiler compliance specified is 1.7 but a jre 1.8 is used
- 链接地址:https://blog.csdn.net/further_/article/details/107939090#comments_23193378
- 链接标题:The compiler compliance specified is 1.7 but a JRE 1.8 is used-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5559
- 网站标签:the compiler compliance specified is 1.7 but a jre 1.8 is used