11-06-2012 06:16 AM
I'm having some problems setting up my development environment and trying to run the "Hello World" app. I would be very grateful if anyone can help me.
I'm on a Mac with:
+ OS X 10.7.4
+ Eclipse 3.7.2 (Build id: M20120208-0800)
+ Java version as reported by "java -version":
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
As I already had an Eclipse environment, I've installed the BlackBerry Java Plug-in (and all the available BlackBerry SDKs) following the instructions "Adding the BlackBerry Update site in Eclipse (Mac)"
When following the Hello BlackBerry tutorial ( https://developer.blackberry.com/java/documentatio
a dialog titled "Error - BlackBerry Java Development Environment" is shown with the message:
"Cannot find RIMUsbJni.dll. Without this dll the IDE cannot connect to USB enabled handhelds.
Add RIMUsbJni to java.library.path"
... with "Don't show this message again" and "OK" buttons.
As I've read in another thread that this may be because 64-bit JDK is being used instead of the 32-bit JDK ( http://supportforums.blackberry.com/t5/Java-Develo
OTOH, I still have the 64-bit Eclipse installed. Is this really important? Do I have to remove the 64-bit Eclipse and install the 32-bit Eclipse to fix this?
Thanks in advance.
Solved! Go to Solution.
11-07-2012 05:35 AM
Replying to myself:
I deleted my 64-bit Eclipse and installed the "BlackBerry Plug-in for Eclipse" for developers without an existing Eclipse environment. Now it works, I could load the app into my BB and run it, so...
it seems that the 64-bit Eclipse cannot be used for BB Java development; the 32-bit Eclipse is required.
11-07-2012 06:31 AM
I was going to suggest that you try loading a 32 bit Eclipse independently. AFAIK, it should be possible to retain both on the same device. But then I am not a Mac user....
Anyway, can you mark this as solved? Instructions in Help link near top if you need it.