简体   繁体   English

Eclipse IDE已启动且已损坏-无法找到任何Java类

[英]Eclipse IDE started and broken - cannot find any Java classes

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: 我已经有一段时间没有启动Eclipse Java EE Kepler了,现在在工作区中的每个项目上都出现了以下错误:

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

I'm not sure what happened here. 我不确定这里发生了什么。

Due to a recent Java update, the JRE settings for the projects in Eclipse got unbound. 由于Java的最新更新,Eclipse中项目的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): 要解决此问题,必须在计算机上将当前JRE设置为构建路径上项目库的JRE(也可以通过转到“问题”选项卡,右键单击错误“未绑定类路径容器”来找到,然后按快速键。固定):

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

Then click on the JRE System Library, edit, and set it as an Installed JRE: 然后单击JRE系统库,进行编辑,并将其设置为Installed JRE:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM