MOBILE

BlackBerry Java Application Development : installing other JDE component packages over-the-air

9/25/2012 1:39:43 AM
  1. Whether you want to install from a pre-downloaded package or use the over-the-air installer, you must use a wizard in Eclipse to do it. So to get started, launch Eclipse and navigate to Help | Software Updates....

  2. The first tab of this dialog shows all of the component packages that are installed in Eclipse currently. The second tab, the Available Software tab, is where you go to add new component packages.

  3. The provided list has a few packages that they think you might be interested in, but BlackBerry is not part of that list. Click on the Add Site button to add the site for BlackBerry updates manually. If you would like to use the on-the-fly installer enter the URL http://www.blackberry.com/go/eclipseUpdate into the Location field in the dialog. Note the capitalized U in Update! Using this site you can download all versions of the Eclipse plugin component packages, which can be very handy. Click on OK to return to the Software Updates dialog.

    Note: The BlackBerry.com documentation indicates that this download link works only in North America. I don't know if this is true or not, so be warned that your mileage may vary.


  4. Now you can see that BlackBerry is in the list of Available Software. Also note that even though version 4.5 of the component package is already installed, it is still available in the list. To hide the components that are already installed, uncheck the checkbox at the bottom of the dialog labeled Include items that have already been installed.

  5. If you do happen to select a package that is already installed, it will show this "Confusing" dialog.

  6. But, after clicking on the Yes button, you get another dialog with a better explanation. That is, you have that package already installed.

  7. If the package is not already installed, Eclipse will do some thinking about the size and space requirements and then present a "Confirmation" dialog before continuing with the installation.

  8. In order to download the component package directly from the website, you must be registered with the BlackBerry Developer Zone. Downloading the software through Eclipse is no different. You must log in using your Developer Zone ID and password.

  9. Once this is successful, the installation will continue without bugging you anymore. You can click on<<Details to see the progress or click on the Run in Background button to hide the dialog entirely and finish the installation in the background.

  10. When the installation is completed, a dialog is shown advising you that Eclipse should be restarted for the changes to take effect.

What just happened?

We demonstrated installing other component packages using the over-the-air install approach. Using this approach, there is no need to download the files and run a setup program in two different steps. Of course, you can install the JDE component packs that way if you want to, but we won't cover how to do it at this time.

Installing over the air is the cleanest way to install new SDK versions, but there can be problems that may be simplified by installing the package separately. For instance, there is a network connection involved that could pose problems. Also, the login dialog doesn't give any feedback about whether there are problems or not, so it is easy to be unsure whether you entered the login correctly or if there are other networking issues going on.

I'd like to say that I've never had problems using this feature, but I can't. I find it best to log into the BlackBerry Developer zone in a separate browser window just so that I have my login and password fresh in my mind.

If you do decide to download and install the JDE Component package rather than use the over-the-air installer, you follow many of the same steps we did for installing it over-the-air.

Each component package does not come with an installer that can be run and therefore can't be installed the way we do for most applications. Instead, the download yields a ZIP archive file. You can unzip the file into a directory (say as part of the C:\Program Files\Eclipse tree where we installed everything before), but you don't have to.

For each version of the component package that you want to install add a new site in the same way we did before, but instead of adding the website, click on either the Local or the Archive button and select the directory or file as appropriate.

If you unzipped the file into a directory, click on the Local button and select that directory. If you want to use the archive directly, click on the Archive button and select the .zip file that was downloaded.

From this point, the installation steps are the same with one exception. A login is no longer required because you have already done a login in order to download the file.

This process is also quicker because there are no delays, as all of the files are already on the local drive and don't need to be downloaded.

Have a go hero - installing other versions of the SDK

We've just covered how to install another version of the SDK, but you can use these same steps to install any version. It can't hurt to have many different versions installed so why not take this opportunity to install other versions of the SDK.

Pop quiz

  1. The Java package we installed really installed two different packages, both of which are needed. What are they?

    a. Java SE and Java EE

    b. JDK and JRE

    c. JVM and JRE

    d. Java ME and Java SE

  2. We've been working with Eclipse so far, but there is another development environment available. What is it?

    a. Visual Studio

    b. Java Development Environment (JDE)

    c. BlackBerry IDE

Other  
  •  BlackBerry Java Application Development : installing the JDE plugin for Eclipse Full installer
  •  Programming the iPhone : Progressive Enhancement - Audio Support
  •  Programming the iPhone : Progressive Enhancement - Accelerometer Support, Rotation Support
  •  Emergency Phone : Spareone
  •  Ipad : Wireless Sync Using the MobileMe Service (part 4) - Using MobileMe After Setup, How to Cancel Your MobileMe Account
  •  Ipad : Wireless Sync Using the MobileMe Service (part 3) - Set Up Your iPad to Access Your MobileMe Account
  •  Ipad : Wireless Sync Using the MobileMe Service (part 2) - Set Up MobileMe on Your Windows PC
  •  Ipad : Wireless Sync of Your Google or Exchange Information (part 2) - Working With the Google or Exchange Contacts and Calendar on your iPad
  •  Ipad : Wireless Sync of Your Google or Exchange Information (part 1) - Set Up your iPad to Access Your Google or Exchange Account
  •  Microsoft Surface and Its Competitors
  •  
    Most View
    BBC iPlayer Radio For iOS
    6 Best New Things To Do With Raspberry Pi (Part 4)
    Is Blue The Color? (Part 1)
    Samsung Home Theatre Series With Wireless Connection
    Microsoft Office 2013 Professional - The Latest Outing For Microsoft’s Flagship Productivity Suite (Part 2)
    Samsung WB30F Compact Camera Review (Part 2)
    Samsung NX20 - Strut To Succeed
    iPhone SDK 3 Programming : XML Processing - An RSS Reader Application
    Peachtree Audio’s Decco65 - Peaches And Cream (Part 2)
    The Ultimate PC Security Toolbox (Part 1)
    Top 10
    Microsoft Exchange Server 2010 : Configuring Anti-Spam and Message Filtering Options (part 4) - Preventing Internal Servers from Being Filtered
    Microsoft Exchange Server 2010 : Configuring Anti-Spam and Message Filtering Options (part 3) - Defining Block List Exceptions and Global Allow/Block Lists
    Microsoft Exchange Server 2010 : Configuring Anti-Spam and Message Filtering Options (part 2) - Filtering Connections with IP Block Lists
    Microsoft Exchange Server 2010 : Configuring Anti-Spam and Message Filtering Options (part 1) - Filtering Spam and Other Unwanted E-Mail by Sender, Filtering Spam and Other Unwanted E-Mail by Recipien
    Microsoft Exchange Server 2010 : Creating and Managing Remote Domains (part 3) - Configuring Messaging Options for Remote Domains , Removing Remote Domains
    Microsoft Exchange Server 2010 : Creating and Managing Remote Domains (part 2) - Creating Remote Domains
    Microsoft Exchange Server 2010 : Creating and Managing Remote Domains (part 1) - Viewing Remote Domains
    Microsoft Exchange Server 2010 : Creating and Managing E-Mail Address Policies (part 3) - Editing and Applying E-Mail Address Policies , Removing E-Mail Address Policies
    Microsoft Exchange Server 2010 : Creating and Managing E-Mail Address Policies (part 2) - Creating E-Mail Address Policies
    Microsoft Exchange Server 2010 : Creating and Managing E-Mail Address Policies (part 1) - Viewing E-Mail Address Policies