Eclipse IDE启动和破坏 - 找不到任何Java类 [英] Eclipse IDE started and broken - cannot find any Java classes

查看:216
本文介绍了Eclipse IDE启动和破坏 - 找不到任何Java类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一段时间没有启动Eclipse Java EE Kepler,现在它在我的工作区中的每个项目上都出现以下错误:

I haven't started my Eclipse Java EE Kepler in a while, and now it ended up with the following error on every project in my workspace:

http://i62.tinypic.com/30rsfgm.png

我不确定这里发生了什么。

I'm not sure what happened here.

推荐答案

由于最近的Java更新,JRE设置为Eclipse中的项目没有绑定。

Due to a recent Java update, the JRE settings for the projects in Eclipse got unbound.

要解决此问题,必须将其计算机上的当前JRE设置为构建路径上项目库的JRE(这也可以通过转到问题选项卡,右键单击错误未绑定的类路径容器,然后按快速修复程序找到:

To fix this, one must set the current JRE on their computer as the JRE for the project library on the build path (This can also be found by going to the Problems tab, right clicking the error "unbound classpath container", then press Quick Fix):

http://i62.tinypic.com/5a438i.png

然后点击JRE系统库,编辑并将其设置为已安装的JRE:

Then click on the JRE System Library, edit, and set it as an Installed JRE:

http://i58.tinypic.com/14vntqp.png

这篇关于Eclipse IDE启动和破坏 - 找不到任何Java类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆