从我的Eclipse项目中意外删除JRE [英] Accidently deleted JRE from my Eclipse project

查看:147
本文介绍了从我的Eclipse项目中意外删除JRE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开了一个新的Java项目,写了很多代码,添加了几个外部jar。
我想删除一个外部jar,意外删除了JRE库。



无法确定如何将JRE重新添加到项目中。 / p>

解决方案

哦,当然,我错过了添加库按钮。



右键单击project-> Properties - > Java Build Path-> Libraries选项卡(JRE丢失!) - > Add Library->选择一个库。



我错过了。


I have opened a new Java project, wrote a lot of code, added a few external jars. I wanted to delete one external jar, accidently deleted the JRE library.

Can't figure out how to re-add the JRE to the project.

解决方案

Oh ofcourse, I missed the "Add library" Button.

Right click project->Properties->Java Build Path->Libraries Tab (JRE is missing!)->Add Library->Choose a library.

How the hell did I miss that.

这篇关于从我的Eclipse项目中意外删除JRE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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