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


1 Before You Begin

The Oracle® Java Micro Edition (Java ME) Software Development Kit (SDK) is a natural starting point for learning and using Java ME technology. The focus of the SDK is to provide emulation and deployment assistance during the development process. This chapter introduces the SDK and provides a quick introduction to using the SDK

Using this simple yet powerful tool you can create, edit, compile, package, and sign an application. After testing your application in the Oracle Java ME SDK emulation environment, you can move to deploying and debugging on an external device.

This chapter provides information you need to ensure that your Microsoft Windows XP (32-bit) or Windows 7 (32-bit or 64-bit) platform is correctly set up for working with Oracle Java ME SDK. Both Windows XP and Windows 7 must include the most recent Microsoft service packs.

1.1 Installing the Java SE Platform

To properly run the Java ME SDK software and its associated Tools, you must have Java Platform, Standard Edition (Java SE), Version 7, Update 11 (or later) installed on your computer.

This guide assumes you have already installed the Java SE platform. If you have not installed Java SE, you can download it from the following location:

The Java SE platform must also be in your PATH.

1.1.1 Setting and Verifying Your Java SE PATH

To verify if Java SE platform is set in your PATH:

  1. In the Windows command line, type:

    C:\>echo %PATH%

  2. If Java SE is properly installed, you see a path to the default installation directory:

    C:\>Program Files\Java\jdk1.7.0_x

  3. If not, you need to add Java SE to your PATH.


    Setting the PATH may require using a Windows short name. To see top-level Windows short names, type C:\>dir /x

  4. Set the Java SE variable, JDK_DIR:

    C:\>set JDK_DIR=C:\Program Files\Java\jdk1.7.0_13

  5. Add JDK_DIR to your PATH:

    C:\>set PATH=%PATH%;%JDK_DIR%\bin

  6. To verify the version of your Java SE platform, type:

    C\:>java -version

The version number shown in the output should be version 1.7.0_11 or higher.

1.2 Installing the Java ME SDK Platform

Follow these steps to install the Java ME SDK 3.3.

  1. If you have previously installed an earlier version of Java ME SDK, uninstall the previous version as shown below.


    If you are installing Java ME SDK for the first time, skip to Step 2.

    • If you have Java ME SDK data to save, please copy it to a safe location before continuing.

    • In the Windows system tray, right click on the emulator icon and choose Exit.

    • From the Windows Programs menu, select the previous version and choose Uninstall from the submenu. The Installer opens.

    • On the first page check the option to remove the user data directory.

    • Follow the prompts.

  2. Download the SDK from:

  3. Double-click the executable. When the installer starts, follow the prompts.

1.3 Installing and the Starting the NetBeans IDE

If you do not already have the NetBeans 7.3 IDE installed on your system, you can download it here:

Next, optionally select your Language and Platform, and then download the version that contains all supported technologies. The approximate size of executable distributive is 198 MB. Once you have downloaded the NetBeans installation module, do the following:

  1. Unzip the NetBeans distribution zip file into the C:\Program Files directory.

  2. In the C:\Program Files\NetBeans 7.3\bin directory, click on netbeans.exe to launch NetBeans, as shown in Figure 1-1.

Figure 1-1 The NetBeans Start Screen

Description of Figure 1-1 follows
Description of "Figure 1-1 The NetBeans Start Screen"

The Oracle Java ME SDK is also a plugin to the Eclipse IDE. For more information on using Java ME SDK with the Eclipse IDE, see Oracle Java Micro Edition Software Development Kit Developer's Guide for Eclipse.