Java Build Path Entry Error: Blackberry Eclipse

2019-06-07 01:09发布

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!

enter image description here

2条回答
唯我独甜
2楼-- · 2019-06-07 01:49

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

查看更多
劳资没心,怎么记你
3楼-- · 2019-06-07 02:04

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

enter image description here

查看更多
登录 后发表回答