我使用Mac,10.6,在恢复备份数据之后,Eclipse停止工作。它给我带来了以下错误:
The container 'JRE System Library [JavaSE-1.6]' references non existing library '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar'
Unbound classpath container: 'JRE System Library [JavaSE-1.7]
我在Ubuntu14.04上遇到了JRE的问题。
编辑:计算机与互联网没有连接,所以我使用了适合离线的方法(我已经在安装eclipse时这样做了)。
我试图运行eclipse,当我播放它时,我收到这样的消息:
为了运行Eclipse,必须有一个Java运行时环境(JRE)或(JDK)。在搜索当前路径中的/usr/lib/eclipse/jre/bin/java之后,没有找到Java虚拟机
java --version命令给出了输出:
The program 'java' can be found in the following packages:
* default
因此,我在eclipse中得到了一个错误,说“指定的编译器遵从性是1.8,但使用的是JRE15”,当我尝试更改Java编译器时,eclipse说When selecting 1.8 compliance, make sure to have a compatible JRE installed and activated(currently 15). Configure the 'Installed JREs' and Execution Environments, or change the JRE on the Java Build Path 当我转到Java构建路径时,
我正在使用m2eclipse在Eclipse中编译一个项目。我在Eclipse中设置JDK路径,如下所示:
Windows-->preferences-->installed jres--> jdk1.7.xx path
但这显示出一个错误
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are run