Java Build Path Entry Error: Blackberry Eclipse

妖精的绣舞 提交于 2020-01-03 03:22:14

问题


I have a project on one computer that I need to work on another computer. I followed the tutorial here: http://agile.csc.ncsu.edu/SEMaterials/tutorials/import_export/ to import and export the project files and transfer them via USB drive. However when I import the project I get a red exclamation mark icon on the project and an error saying:

"The project cannot be built until build path errors are resolved" and "unbound classpath container: 'JRE System Library [BlackBerry JRE 6.0.0] in project 'MyProject'"

I am using the blackberry plugin for eclipse, installed altogether from the RIM website. For reference here: http://us.blackberry.com/developers/javaappdev/javaplugin.jsp with version 1.5.

I am very new to Java and this is my first time with eclipse so I really don't know what these errors mean even after googling for a while. I have attached a screenshot of the view from the new computer which I need to work on. Any help is appreciated!


回答1:


From Window->Preferences menu, or Run->Run Configuration menu of BlackBerry Plugin Eclipse, add in Installed JREs the one you need:




回答2:


The error was resulting from the fact that I did not have the Blackberry JRE 6.0.0 installed; I had JRE 7.0.0. I installed the JRE from the BB Java plug-in update site and after an Eclipse restart I was able to open the project. The link to use with Eclipse if anyone else has a similar issue is: http://www.blackberry.com/go/eclipseUpdate/3.6/java



来源:https://stackoverflow.com/questions/9081293/java-build-path-entry-error-blackberry-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!