Skip Headers
Oracle® Java Micro Edition Software Development Kit Developer's Guide
Release 3.3 for NetBeans on Windows
E24265-05
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

2 Installing Plugins

This chapter describes the NetBeans integrated development environment. NetBeans provides a rich, visual environment for developing embedded applications and numerous tools to improve the programming process.

Oracle Java ME SDK provides two plugins for working with NetBeans:

The Java ME SDK Demos plugin is optional, but recommended.

2.1 Downloading Oracle Java ME SDK Plugins

To download the Oracle Java ME SDK Plugins file for NetBeans (oracle-jmesdk-3-3-rr-nb-plugins.zip) go to the following location:

http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk

2.2 Installing Oracle Java ME SDK Plugins

There are two ways to install the Oracle Java ME SDK Plugins:


Note:

Using the NetBeans Update Center to install the plugins is recommended. However, installing the plugins manually also works.


To get the plugins ready for installation, start NetBeans as described in "Installing and the Starting the NetBeans IDE."

2.2.1 Installing Plugins Using the Update Center

To install the NetBeans Plugins using the NetBeans Update Center:

  1. Select Tools > Plugins to open the NetBeans Plugins manager, as shown in Figure 2-1.

    Figure 2-1 The NetBeans Plugins Manager

    Description of Figure 2-1 follows
    Description of "Figure 2-1 The NetBeans Plugins Manager"

  2. Click the Settings tab. This displays the available update centers, as shown in Figure 2-2.

    Figure 2-2 Adding a Plugin Portal

    Description of Figure 2-2 follows
    Description of "Figure 2-2 Adding a Plugin Portal"

  3. Click the Add button. In the new window, type a provider name and a URL for the location that contains the plugin center files, as shown in Figure 2-3.

    Figure 2-3 Creating a New Update Center

    Description of Figure 2-3 follows
    Description of "Figure 2-3 Creating a New Update Center"

  4. When plugins are detected, they are displayed on the Available Plugins tab. If you do not see them, click the Check for Updates button.

  5. Restart NetBeans.

  6. In the Plugins Manager Settings tab, enable all available update centers.

  7. In the Installed tab, check Show details (above the plugin list) and sort by category to easily find the Java ME SDK Tools plugins.

    • Make sure the plugins you installed are active (with a green check mark), as shown in Figure 2-5.

    • If the Oracle Java ME SDK plugins are not Active, check the Select boxes for the plugins and click Activate.

    Figure 2-5 The Plugins Manager Installed Tab

    Description of Figure 2-5 follows
    Description of "Figure 2-5 The Plugins Manager Installed Tab"

The Oracle Java ME SDK is ready to use. For more information on how to verify your plugin installation, see

2.2.2 Installing NetBeans Plugins Manually

To install the NetBeans Plugins manually.

  1. Extract the contents of the NetBeans Plugins file to a directory on your local machine. Make note of the location.

  2. Open the NetBeans Plugins Manager. Select:

    Tools > Plugins

  3. Uninstall previous plugins.

  4. Re-open the Plugins Manager and click the Downloaded tab, as shown in Figure 2-7.

  5. Click the Add Plugins button.

    Figure 2-7 The Downloaded Tab and Add Plugins Button

    Description of Figure 2-7 follows
    Description of "Figure 2-7 The Downloaded Tab and Add Plugins Button"

  6. In the file browser, go to the directory in which you have extracted the contents of the NetBeans Plugins.

  7. Select all the .nbm files and click Open, as shown in Figure 2-8.

    Figure 2-8 Adding Plugins

    Description of Figure 2-8 follows
    Description of "Figure 2-8 Adding Plugins"

  8. Go to the Downloaded tab and select all downloaded plugins, as shown in Figure 2-9, and click Install.

    Figure 2-9 Selecting Downloaded Plugins

    Description of Figure 2-9 follows
    Description of "Figure 2-9 Selecting Downloaded Plugins"

  9. When the NetBeans IDE Installer screen is displayed, as shown in Figure 2-10, click Next.

    • Accept the license terms and click Install.

    • If additional Validation screens appear, click Continue.

    Figure 2-10 The NetBeans IDE Installer

    Description of Figure 2-10 follows
    Description of "Figure 2-10 The NetBeans IDE Installer"

  10. Click Finish to restart NetBeans.

  11. Select Tools > Plugins to display the Plugins screen.

  12. In the Installed tab, check Show details and click Category to sort the plugins.

    • Find the Java ME SDK Tools and Java ME SDK Demos plugins in the list.

    • Make sure the plugins you installed are Active (you should see a green check mark), as shown in Figure 2-6.

    • If the Oracle Java ME SDK plugins are not Active, check the Select boxes for the plugins and click Activate.

  13. When your Oracle Java ME SDK plugins are Active, click Close.

    The Oracle Java ME SDK is ready to use. For more information on how to verify your plugin installation, see

2.3 Verifying Your Installation

Once you have installed the Oracle Java ME SDK Plugins into NetBeans (using the Update Center or by manual installation), the Oracle Java ME SDK platform is installed into the NetBeans IDE. To verify a successful installation, do the following:

  1. To verify the Active Device Manager, select Tools > Java ME > Active Device Manager, and select the latest version (Oracle Java ME SDK 3.3).

  2. To view available Oracle Java ME SDK 3.3 devices, select Tools > Java ME > Device Selector. The ME SDK devices are listed, as shown in Figure 2-11.

    Figure 2-11 The Device Selector

    Description of Figure 2-11 follows
    Description of "Figure 2-11 The Device Selector"

  3. To display the new Oracle Java ME SDK platform, choose Tools > Java Platforms. This displays the Java Platform Manager with the new platform, as shown in Figure 2-12.

    Figure 2-12 The Java Platform Manager

    Description of Figure 2-12 follows
    Description of "Figure 2-12 The Java Platform Manager"

The Oracle ME SDK Platform is now ready for you to work with, to create a new project and develop code.

2.4 Quick Start

The following tips offer some hints for getting started as quickly as possible.