java - Eclipse IDE - 错误 : Build path specifies execution environment Java SE 1. 7

标签 java eclipse error-handling

在 Eclipse 中,我收到一个错误:

Build path specifies execution environment Java SE 1.7.
There are no JREs installed in the workspace that are strictly compatible with this environment.

最佳答案

试试这个

 In Eclipse,
your project
-> properties
-> java build path : Libraries
Remove the "JRE System Library[J2SE 1.4]"
-> click "Add Library" button -> JRE System Library
-> select the new "Executin Environment" or Workspace default JRE

关于java - Eclipse IDE - 错误 : Build path specifies execution environment Java SE 1. 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26345131/

相关文章:

Java Streams 将列表拆分为子列表,单独处理这些列表并将它们合并回来

java - Java 中使用 2D ArrayList 的矩阵乘法

java - 构建 gradle 失败 : can not identify path JDK, CreateProcess 错误=206,文件名或扩展名太长

eclipse - 如何在 Eclipse 中创建 stub Junit 测试?

Java jar 在 maven 资源文件夹中找不到文件

eclipse - 在 Eclipse 中如何在注释中自动打印当前日期/时间?

sockets - NodeJS程序出错时只断开一个socket

ruby-on-rails - 如何使该 Action 抛出404?

r - 避免让设备继续使用

java - 如何使用Jsoup从html文件中获取特定数据?