BlackBerry Plug-in for Eclipse
The BlackBerry Plug-in for Eclipse allows developers to develop, test and debug a BlackBerry Java application using the Eclipse IDE.
The plug-in allows developers to download additional BlackBerry SDKs through an Eclipse update site. This allows developers to develop against multiple BlackBerry Java OS codelines within a single development environment.
Developers with an existing Eclipse environment
If you have an existing Eclipse environment, you may download and install the BlackBerry Plug-in for Eclipse and the BlackBerry SDKs
of your choice by adding the BlackBerry update site.
Close
Notes:
- If a previous version of the BlackBerry Java SDK 7.1.0 is installed, it should be uninstalled prior to installing the BlackBerry Java Plug-in for Eclipse v2.0.0 with the next version of the BlackBerry Java SDK 7.1
- If you're using Java 2 SDK, Standard Edition v6.0, obtain Update 16 of the Java 2 SDK v6.0 from the Oracle website before downloading the plug-in using the Eclipse Update Mechanism.
In your existing Eclipse environment, follow the steps below:
- From the Help menu, select Install New Software to open the Install window.
- Click Add:
- In the Add Site dialog, type the URL http://www.blackberry.com/developers/jar/win/java into the location text box and specify BlackBerry Java Plug-in Update Site in the name text box.
- Click OK, BlackBerry Update Site appears in the Available Software list.
- Select the BlackBerry Java Plug-in item and at least one BlackBerry SDK you want to work with. Choose the version of the BlackBerry SDK which ensures that your application is compatible with your intended target market. Read more about SDK versions.
- Click Next.
- Click Next after reviewing the items to be installed.
- Check I accept the terms of the license agreement after reviewing the licenses.
- Click Finish to begin installation.
- After successfully downloading the files, you'll be prompted to restart Eclipse.
For Mac? | System Requirements
Installing additional BlackBerry SDK versions
After you have the BlackBerry Plug-in for Eclipse installed you can add additional BlackBerry SDK versions through the update site.
Each additional SDK version will allow you to develop against the respective BlackBerry OS version within your existing Eclipse environment.
It is important that you develop using the version of the BlackBerry SDK which ensures that your application is compatible with your intended target market. Applications built against a particular version are forward-compatible with newer BlackBerry Java OS versions, but they are not backward-compatible with older versions.
For example, an application built in BlackBerry JDE 6.0 runs on a BlackBerry smartphones running BlackBerry Device Software 6.0 and later. It does not run on a BlackBerry smartphones running BlackBerry Device Software 5.0 and prior. Thus, when building applications, you should use a BlackBerry JDE version that matches the lowest version of BlackBerry Device Software you want to support.
Newer versions of the JDE provide additional APIs and features. The APIs and features which were introduced with each BlackBerry
Java OS version are described here.
How to install additional BlackBerry SDK versions
Close
In your existing Eclipse environment with the BlackBerry Plug-in for Eclipse installed, follow the instructions below:
- In the Eclipse Help menu, click Install New Software.
- In the Work With drop-down list, click the BlackBerry Update Site.
- Expand the BlackBerry Java Plug-in category and select the BlackBerry Java SDK that you want to install.
- Click Next.
- Accept the terms of the license agreement, and click Finish.
- Click Yes to restart Eclipse.