1

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'.
org.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 7

Any idea on what could be the issue?

4 Answers 4

3

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.

0
2

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.

1
  • 2
    I edited the answer to clarify that these links are for older plugins. The linked SO question is over a year old, for example. You shouldn't need to do this if you downloaded your Eclipse plugin recently. Nov 25, 2010 at 3:24
0

Something wrong with your developing environment. Based on your error message, I think it's about your builder. Configure it in your project preferences.

0

this was fixing it in my case.. add it to config.ini

osgi.framework.extensions=org.eclipse.mtj.core.hooks,net.rim.ejde

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.