简体   繁体   English

Eclipse 4.3开普勒缺少JRE系统库

[英]Eclipse 4.3 Kepler missing JRE system library

I am extremely new to java (about one week of experience at the moment). 我对Java非常陌生(目前大约有一个星期的经验)。 I have made a fair amount of simple programs in an older version of eclipse Juno on a PC. 我已经在PC上的较早版本的Eclipse Juno中制作了大量简单程序。 I copied all of the files onto a flash drive and put them into the workspace of eclipse kepler on my mac laptop. 我将所有文件复制到闪存驱动器上,并将它们放入Mac笔记本电脑上的eclipse kepler的工作区中。 Now every single line of code is unrecognized and the JRE system library folder is gone from all of the projects. 现在,每一行代码都无法识别,并且所有项目中都没有JRE系统库文件夹。 I am not sure how to fix this and I would love if someone will help my noob self at this. 我不确定如何解决此问题,如果有人可以帮助我的菜鸟自我,我很乐意。 Thanks! 谢谢!

You have to configure the jre from your mac in eclipse. 您必须在eclipse中从Mac配置jre。 You find it under window preferences and search for jre. 您可以在窗口首选项下找到它并搜索jre。 After that, in your eclipse project you can use the new configured jre (project properties - Java Build Path) 之后,在eclipse项目中,可以使用新配置的jre(项目属性-Java Build Path)

Hope this helps. 希望这可以帮助。

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

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