08-04-2011 02:36 PM
I just downloaded the BlackBerry JDE Plugin for Mac OS X to my MacBook Pro (OS X Lion, i5, 8 GB RAM, plenty of storage). My laptop far exceeds the requirements listed on the BlackBerry Developer site.
When I attempt to run the installer, I get a dialog with the following message:
You can't open the application BlackBerry Java Plug-in Setup.app because PowerPC applications are no longer supported.
Is this an old version of the Mac Plugin? The page from which I downloaded clearly stated that it supported the i5 architecture.
The filename of the download is: BlackBerry_JDE_PluginFull_18.104.22.168102031007-19.z
08-05-2011 09:58 AM
Same problem here, installer is not compatible with Mac OS X Lion.
I tried to unpack the installer on a Windows computer ( I could not unpack it within my Mac ), until I got to the file Contents/Resources/Java/Disk1/InstData/Resource1.z
Then, when this zip is unpacked, go to R_\EclipsePlugin\installer\InstallAnywhere\Instal
Now you have a complete directory with the whole package.
You should be able to install a normal Eclipse framework from http://www.eclipse.org/downloads/ ( I took the Classic version, since this is also advised for Android development ).
Then, using the the package we just unpacked in a somewhat cumbersome way, it *should* be possible to *install* ( i.e., copy over ) the plugin onto the freshly installed Eclipse installation.
This is how Eclipse PLUGINS should always be distributed. Although RIM calls this an Eclipse Plugin, in fact it is a complete Eclipse installion. Not very plugin-like.
Anyway, I don't have it completely running as yet, but this should work with of course some tinkering around.
08-05-2011 10:20 AM
I'll start checking this out to see if I can get it to go.
I totally agree with you on the plugin stuff...just deliver it like all other plugins. At least provide the option to download the plugin alone. Many of us develop on multiple platforms (BB, Android, Google Apps, PHP, HTML5, etc), so we tend to install the plugins we need when we need them.
Are you listening, BlackBerry?
08-05-2011 11:05 AM
I tried to backdoor the installation by copying plugins and features. Eclipse did not fully recognize them after a hard restart. I noticed that eclipse added configuration info for the plugins, but the features did not seem to show up in the IDE after starting it.
In fact, I started getting NoClassDefFound exceptions on my Android builds.
!ENTRY org.eclipse.core.resources 4 2 2011-08-05 10:51:37.841
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
08-05-2011 11:13 AM
OK, after a few other options, I finally tried just copying the unpacked EJDE Plugins_ff9d5090a84c_zg_ia_sf.jar into a subfolder of my Applications directory, renamed to 'eclipseBB'. I started Eclipse from there and it ran, recognizing the BlackBerry plugins.
Assuming there are no additional drivers needed for development, I am up and running. I'm sure I'll need something when I try to install/debug to a device.
08-05-2011 11:21 AM
08-05-2011 11:44 AM
I still have an issue to resolve...can't seem to find where I can download a BB JRE...can't create a project without it.
Back to the drawing board.
With respect to simulators...they are Windows only. On Mac, you can only develop against a device.
08-05-2011 12:15 PM
OK, the BB Execution Environment is delivered in JAR format as net.rim.ejde.componentpack6.0.0_22.214.171.124.jar. I had to unpack that jar in order to configure the BB Execution Environment in Eclipse. Now I am able to create a BB Project.
Of course, Eclipse is now looking for a DLL to connect to handsets...argh. This stream of Windows dependencies really sucks.