简体   繁体   English

在Eclipse中找不到JRE系统库异常

[英]JRE system library not found exception in eclipse

Dear All, I am eclipse3.1 IDE for java under fedora 8 environment. 亲爱的All,我是fedora 8环境下的eclipse3.1 IDE for java。 I installed fresh copy of eclipse and trying to run a program,it shows JRE system library not found exception popup. 我安装了新的eclipse副本并试图运行一个程序,它显示JRE系统库未找到异常弹出窗口。 I added this library manually by BuildPath-----> Add external library but still i am getting that popup. 我通过BuildPath手动添加了这个库----->添加外部库但我仍然得到了这个弹出窗口。 How to solve this problem. 如何解决这个问题呢。

转到Window - Preference - Java - Installed JREs页面以指定jre或JDK的位置。

转到项目>属性> Java构建路径>库>添加库>下一步>完成这对我来说很有用

I'm no expert but maybe try checking in Java Build Path that your lib appears in the Libraries tab and that in "Order and Export" tab it is checked 我不是专家,但可能尝试检查您的lib出现在Libraries选项卡中的Java Build Path,并在“Order and Export”选项卡中检查它

otherwise have you tried refreshing cleaning and rebuilding?(sometimes eclipse is a bit slow in detecting changes 否则你有没有尝试刷新清洁和重建?(有时eclipse在检测变化方面有点慢

final check that the path of the library is the good one (it happened when I committed a project to the svn and used it on a different computer, everything was there but since the computers had different names (C:\\jason... and C:\\jasonlaptop...) it wasn't working. 最后检查库的路径是好的(当我将项目提交到svn并在不同的计算机上使用它时发生了,一切都在那里,但由于计算机有不同的名称(C:\\ jason ......和C:\\ jasonlaptop ......)它不起作用。

let me know if it changed anything 让我知道它是否改变了什么

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

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