Build BlackBerry Advanced UI package
I downloaded the BlackBerry advanced UI package, but when I try to build it I get the following errors:
Errors running builder 'BlackBerry Pre-Process Builder' on project 'Advanced UI'.
or开发者_Python百科g.eclipse.jdt.internal.launching.StandardVM cannot be cast to net.rim.ejde.A.J.M
I'm using:
- Eclipse 3.5 - Blackberry SDK 5.0.0.25 - Windows 7Any idea on what could be the issue?
You probably have the wrong JRE set in your project properties. You need to set it to the BlackBerry JRE 5 or 6.
Project Properties->Java Build Path-> Libraries Tab -> Double Click JRE System Library
Select proper JRE.
Rebuild.
Some classes from that package use preprocessor directives.
It turns out preprocessor directives are not supported by earlier versions of the Eclipse plugin, but version 1.0.0.67 and later are configured correctly by default. Earlier Eclipse plugin versions can be enable preprocessing by editing the config files manually.
RIM also explains how to manually edit the config file to enable preprocessing.
Something wrong with your developing environment. Based on your error message, I think it's about your builder. Configure it in your project preferences.
this was fixing it in my case.. add it to config.ini
osgi.framework.extensions=org.eclipse.mtj.core.hooks,net.rim.ejde
精彩评论