Configuring Blackberry Eclipse plugin for 4.70 or 5.0 components - eclipse

I am looking for help in configuring the Blackberry development environment. In fact, it is quite a frustrating process. The blackberry site is pretty useless. Between links that have been moved, details that are assumed and documents that are out of date it is proving very difficult to get anywhere with blackberry development.
Pheww, now that my rant is done. Here is my problem:
I have finally got the JDE for Eclipse working (that is a story in itself). However, my blackberry workspace is only giving me the option of targeting the 4.5 JDE components. How do I update it to use the 4.7 components?
It would be preferable to have step-by-step instructions but I would appreciate any help that can be provided.
Here are the details:
I have Java jdk1.6.0_14
Eclipse version 3.4.1
I have installed the Blackberry JDE 4.7
I have installed the Blackberry JDE Component Package 4.7
I have installed the Blackberry Smartphone simulators 4.7

Totally agreed - it's not at all obvious what to do. I've never had luck using their update site, so I just download and install the component packs manually:
Download the "Eclipse Software Update for the BlackBerry JDE v4.7 Component Pack" from the BlackBerry developer zone (it's a zip file)
From Eclipse open the Help menu and choose Software Updates
Click on the Available Software tab
Click Add Site
Choose Archive and select your zip file
Make sure everything under the JDE 4.7 tree is checked
Click Install and continue through the wizard

You are a life saver!!!!!!!!!!! This worked perfectly. I understand the frustration. If this. If this doesn't work I would recommend deleteing the entire directory and reinstalling eclipse.
You should already have JDK installed:
This is what I downloaded for 64bit windows:jdk-6u16-windows-x64.exe get one that matches your OS. Should be jdk version 6.
I installed this version: Should work for windows x86 and 64bit:
eclipse-java-ganymede-SR2-win32.zip
Other versions shouldn't work. has to be 3.4 but not 3.5 (gallileo) and it has to be for java.
Then I installed the plugin. Then I followed the instructions above and it worked.

eclipse-java-ganymede-SR2-win32.zip does not work with the 64-bit JDK.
You have to use eclipse-SDK-3.4.1-win32-x86_64 with the 64-bit JDK. Once you use these two things together and install the Eclipse Plugin, the installation works fine, but I always get "Cannot find RIMIDEWin32Util.dll. This is a required component of the IDE." and then "Cannot find RIMUsbJni.dll. Without this dll the IDE cannot connect to USB enabled handhelds. Add RIMUsbJni to java.library.path". Both of the supposedly missing files are located in my workspace path under .metadata.plugins\net.rim.eide.bootstrapper\installDlls. I have placed those two files pretty much everywhere I could think of, even c:\windows\system32, and it still claims to not be able to find these files.
Now for the fix....
You can use eclipse-java-ganymede-SR2-win32.zip with the 32-bit JDK. Make sure you add the JDK\bin to your %PATH% environment variable. You can then install the Blackberry JDK Plugin and Component Pack and everything will work!
Note: In order to "Configure Blackberry Workspace" from the Blackberry menu, you must first create a Blackberry project. Found this out the hard way.

Related

eclipse is not installing at all

I've installed jdk-8u65-windows-i586.exe and downloaded the latest version of Eclipse IDE.
When I double click on the eclipse-inst-win31.exe absolutely nothing happens.
MY OS is Windows Vista.
How can I resolve this problem?
Make sure you have a working java sdk in java_home variable - type java - version in cmd prompt
If you don't, reinstall java sdk and eclipse it should start.
Instead of using the Eclipse installer (which is still a rather new part of the Eclipse downloads), just take one of the complete distributions (scroll down below the installer on the download page).
While the installer first needs to download additional pieces from the Internet, those distributions are ready to start developing.

Blackberry Package Project for Multiple OS Targets/Versions

I'm using the Eclipse plug-in and my app runs on the following simulators: 9800, 9700, 8900 ,i.e, it is compatible with OS versions 5 and 6. However , when I package the application to run it on a device, the .alx file is generated correctly but there is also a folder called '6.0.0' with all the other files like .cod, .jar, etc. My question is, shouldn't there be a similar folder '5.0.0' with files for OS version 5? And if yes, then how do I go about generating it?Please help!
Ok just incase someone else is as frustrated by this as I was here's the solution:
Changing BlackBerry JRE to an Older Version (Eclipse Plug-in)
Just Check the project properties, it will be 6.0 JRE.
To be clear, you need to install the 5.0 in Eclipse by going through Help menu-Install Software, and add the Blackberry update site: http://www.blackberry.com/go/eclipseUpdate/3.6/java. Download the required OS from there.
Then, right click in the project, go to properties of the project and in it go Java Build Path, and under it, go to Libraries tab, you will find JRE to be 6.0, you need to change it to 5.0.

Problems in Installation of Blackberry JDE Plugin for Eclipse

I am having issues installing the BlackBerry JDE plugin. I have downloaded and installed the plugin from the BlackBerry site. The installation ran smoothly and completed. However when I open Eclipse the option for BlackBerry is not showing.
I don't know what the problem is exactly. I tried many things but I am heading nowhere. I want to know how to add the plugin and get started on BlackBerry development.
The default download of the BlackBerry Java Plug-in for Eclipse is a combination of Eclipse and the BlackBerry Eclipse plugin. For version 1.3 and 1.5, the install directory will contain a full Eclipse Helios installation, along with the BlackBerry plugin. You should start eclipse from that directory.
From the download page, one of the new features for version 1.5 is:
Ability to download and install the BlackBerry Plug-in into an existing Eclipse environment by providing the BlackBerry Plug-in through an Eclipse update site.
So to take advantage of that, follow the instructions on "BlackBerry Java Plug-in for Eclipse Update Site" which explain how to add the site to your existing Eclipse setup, and then install the plugin from the site.
There are 2 options, as noted above.
The blackberry way: you download the full plugin (the name is misleading, since it's a full eclipse install including the plugin) from here.
The eclipse way: you install a 32-bit Java 6 SDK (64-bit is not supported and Java 7 has known problems with the code signing tool), then download the 32-bit Eclipse (I use version 3.7 "Indigo"), and install the plugin from Eclipse (Menu Help->Install new software, type the url "http://www.blackberry.com/go/eclipseupdate/3.6/java" inside the "Work with" box, then you need to select the plugin and at least a Blackberry SDK from the list)
If everything works, you should see the blackberry icon in the "About" box.
You should also see a Blackberry perspective (under Window->Open Perspective), a Blackberry menu item under "Project"), and a Blackberry section if you create a new project.
There is no such thing as a "Blackberry tab". The Blackberry development tools are integrated with the environment.
you could have done some mistakes while the installation. I am also using in windows 7 only. Its working perfectly for me. Please delete the current eclipse and try to install as shown in this tutorial.
I have installed it on my new laptop just yesterday. Simple, follow the steps and you will be done. Note that the latest eclipse is Indigo and not Helios; I am using Indigo and I advocate it.
Go grab your Indigo
Unzip into ANY dammed directory. You must see a folder with "eclipse" created.
Double click the Violet eclipse Icon. You must now be seeing eclipse smiling at you.
Select the menu Help->Install New Software
Select a hyperlink present at label "Find more software by working with the "Available Software Sites" preferences"
Now select Preferences and the select the button "Add".
Fill up Name and Location values with the following
Name:BlackBerry Java Plug-in Update Site, Value: "http://www.blackberry.com/go/eclipseUpdate/3.6/java"
Select OK.
That's it!

Blackberry Development using NetBeans

I have gone through with the tutorial documents for blackberry development.
At every place they have showed the features with eclipse plugins.
So, I would like to know that which are the tools I need to download If I want to start development using NetBeans 6.8 (or 6.5) ? And what is the procedure to do so ?
Thanks in advance...
One guy called Jonathan Fisher did come up with a solution, but his page disappeared off the web a while ago. But I managed to find it using the Wayback machine to get the archived webpage.
Basically you need to first install the Blackberry JDE (which is Eclipse based), then in Netbeans Mobility settings go to Manage Emulators and do Add Plaform in the platforms manager to add a custom platform that points to your Blackberry JDE directory, and remove all the automatically added jars except for net_rim_api.jar
Next, when you start a MIDP project, select your new custom Blackberry platform as your emulator in the project settings. You will also need to add some custom build settings to build.xml, plus a Blackberry .alx application loader file to the project. It's a bit long-winded, so best to follow the instructions as per the aforementioned link.
There are no plugins that are available for BlackBerry development on Netbeans. But, you can do so, if
you are willing to give up the on device debugging that you can get with Eclipse plugin.
And are willing and know how to install BlackBerry JDE in Netbeans.
The advantage here is Netbeans has a lot more sophisticated preprocessor support, whereas BlackBerry plugin in Eclipse has rudimentary support for that.
I have wrote a short article on this on my blog link text
, it tells you how to confguire Netbeans for BB development.
this is only supporting J2ME not cldc .
I would highly recommend using the Eclipse plugin. Its supported from RIM and it has a large enough community base for troubleshooting.

Are there other trusted download sources for Eclipse Ganymede 3.4.2? It's no longer available on eclipse.org!

Eclipse.org took it off for some reason. When trying to download Ganymede, the server says the files are not there. I need it for Mac OS X Cocoa 32 bit. J2EE or the lightweight version.
Eclipse downloads - file unavailable
The selected file is invalid, or it is
no longer available for download.
This happens when the file is part of
a nightly or development build. If so,
please return to the project's home
page and download a newer version.
Go back.
Now the problem is, it seems no one thought it would be useful to offer eclipse for download, since eclipse.org already does. But they don't. That sucks. You know any other?
If you can't download a package directly from the downloads site, you can use a BitTorrent client to download one of the Eclipse torrents. Torrents are available for most package/platforms. I tried to get the Java EE Cocoa package and it started fine.
The SDK (Eclipse Classic) is available from http://download.eclipse.org/eclipse/downloads/ (I just downloaded the 3.4.2 Mac OS X Carbon SDK from there).
Since I was looking for that exact download today as well (please don't ask why...), anyway, I found it here: http://archive.eclipse.org/technology/epp/downloads/release/ganymede/SR2/
This lists all available downloads for Ganymede SR2 (CPP, Java, Java EE, ...), for Windows, Linux 32, Linux 64 and Mac OS X (Carbon).