Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Setting up your development tools for BlackBerry Java applications

by Retired on ‎02-12-2010 12:07 PM - edited on ‎03-07-2011 03:45 PM by Retired (91,398 Views)

Setting up your development tools for BlackBerry Java applications


If you’re developing Java® applications for the BlackBerry® device, there are a number of tools you can use to develop your application.  In this article, we will focus on setting up the BlackBerry® Java® Plug-in for Eclipse®.


The BlackBerry Java Plug-in for Eclipse extends the Eclipse® development framework to allow you to develop a BlackBerry Java application for the BlackBerry device. In Eclipse and Eclipse-based IDEs, the plug-in provides the tools to develop, debug, optimize, and localize your application.


System requirements

Before downloading the BlackBerry Java Plug-in for Eclipse, make sure your computer meets the following system requirements:


  • Intel® Pentium® 4 or AMD Athlon™ Desktop Processor 2.5GHz or faster
  • 1.5 GB or more available hard disk space
  • 2 GB RAM or more
  • Monitor with 1024 x 768 resolution or higher
  • Windows Vista®, Windows® XP, or Windows® 7 (Note: 64-bit versions require 32-bit Java® and 32-bit Eclipse).
  • Java® Platform, Standard Edition (Java SE) Development Kit (JDK) 6, update 14 or later

Task 1: Downloading and installing the Java SE JDK


Note: If you already have Java SE JDK 6 update 14 or later installed on your computer, you can proceed to the next task.


  1. Go to www.oracle.com/technetwork/java/javase/downloads/index.html .
  2. Click Download JDK.
  3. From the Platform drop-down list, select the platform you are developing on.
  4. After reviewing the license agreement, select the license checkbox. Click Continue.
  5. Click the filename and save the file to a location on your computer.
  6. Double-click the exe file and proceed with the installation.
  7. Update the PATH environment variable to point to the newly installed JDK by completing the following steps:
    1. From the Control Panel, select System.
    2. On the Advanced tab, click Environment Variables.
    3. Under System variables, select the Path variable and click Edit.
    4. At the beginning of the Variable value field, type the path of the JDK followed by a semicolon ; For example, C:\Program Files\Java\jdk1.6.0_21\bin;
    5. Click OK to save and close the Environment Variables window.
  8. In the Environment Variables, update the JAVA_HOME variable to point to the newly installed JDK.  Use the instructions in the prior step to update the JAVA_HOME variable.


Task 2: Downloading and installing the BlackBerry Java Plug-in and the Eclipse IDE


Note: If you have a registered account on the BlackBerry® Developer Zone, please log in. By using your registered account, you avoid having to complete download agreements for each time you download a file. You can log in or register for an account at www.blackberry.com/developers.


  1. Go to www.blackberry.com/developers/java.
  2. Click the Development tools and downloads link.
  3. Click the Download the BlackBerry Java Plug-in for Eclipse v1.3 (full installer) link. This installer includes both the BlackBerry Java Plug-in-in for Eclipse and Eclipse 3.6.
  4. Click Download.
  5. Click Save, and then save the file to a location on your computer.
  6. Double-click the setup application file.
  7. Click Run.
  8. On the Introduction screen, click Next.
  9. Review the license agreement, and then select  I accept the terms of the License Agreement.
  10. Click Next.
  11. Choose a location where you would like to install Eclipse.  You can use the default location that’s specified on the screen or you specify a different folder location.  Note: The folder must be empty.
  12. Click Next.
  13. On the Select Additional Tasks screen, select where you want the setup application to create shortcuts for the BlackBerry Java Plug-in.
  14. Click Next.
  15. Review the information on the Pre-installation Summary screen, and then click Install.
  16. Click Done.


You have successfully completed the installation of the BlackBerry Java Plug-in for Eclipse and the Eclipse installation.


When you first launch the BlackBerry Java Plug-in for Eclipse, Eclipse will prompt you to specify a workspace.  This workspace contains all the application projects you plan to work on.


Find out more


For more information about the BlackBerry Java Plug-in for Eclipse and developing Java applications for the BlackBerry device, visit the following resources:


by Developer on ‎10-19-2010 08:25 AM

Document is Out of Date.  


Downloading component packs directly from the website is no longer possible, you have to use the Eclipse Update mechanism.

by Developer on ‎03-04-2012 02:48 PM

One more issue - (JDK) 6, update 14 or later. What about JDK 7? Is it supported?

by BlackBerry Development Advisor on ‎03-05-2012 10:11 AM

JDK 7 is supported by version 7.1 of the BlackBerry development tools.  Refer to this chart here:  http://supportforums.blackberry.com/t5/Java-Development/Supported-versions-of-Java-for-different-Bla...

Users Online
Currently online: 31 members 2,467 guests
Please welcome our newest community members: