Skip Headers
Oracle® Java Micro Edition Software Development Kit Release Notes
Release 3.2 for Windows
E25309-06
 

 

Oracle® Java Micro Edition Software Development Kit

Release Notes

Release 3.2 for Windows

E25309-06

October 2012

Contents


Release Highlights
Installation Prerequisites
Installing the Java ME SDK Platform
Installing Java ME SDK Plugins
     Plugin Overview
     Installing Java ME SDK Plugins in NetBeans
     Installing Java ME Plugins in Eclipse
          Indigo
          Juno
Installation and Runtime Security Guidelines
Known Problems
Documentation Accessibility

Release Highlights

This section summarizes the release highlights.

Installation Prerequisites

The installation has three components: a supported IDE, the Java ME SDK Platform, and a Java ME SDK plugin appropriate to the IDE. The Java ME SDK platform installation includes the runtimes (the virtual machines), emulators, devices, libraries, and more.

The plugin extends the IDE so that it can access the Java ME SDK platform's features and utilities seamlessly from the IDE.A minimal environment system configuration is:

Installing the Java ME SDK Platform

Follow these steps to install the Java ME SDK 3.2.

  1. Uninstall the previous standalone version of Java ME SDK platform, if any.
    Please ignore the Java ME SDK 3.0.5 installed with the NetBeans Mobility Pack.

    • 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 please check the option to remove the user data directory.

    • Follow the prompts.

  2. Download the SDK from:
    http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html

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

Installing Java ME SDK Plugins

Plugins make Java ME SDK platform features available to a supported IDE.

Plugin Overview

Before installing plugins, take note that plugins containing sample code are treated differently:

  • Some demos use network access for test purposes, however, the sample code does not include protection against malicious intrusion. Before installing and using the demos, please see the "Installation and Runtime Security Guidelines".

  • Sample code has a different copyright that allows you to redistribute, provided the Oracle copyright is kept.

NetBeans Plugins

NetBeans plugins are grouped in three categories.

  • Java ME SDK Tools. Required.

  • LWUIT Resource Editor. Optional.

  • Java ME SDK Demos. Optional, but useful for getting started quickly.

Once installed in NetBeans, the plugins are in their own category named Java ME SDK Tools in Tools > Plugins.

Eclipse Plugins

For Eclipse the plugins are grouped in two categories:

  • Java ME SDK Tools. Required.

  • Java ME SDK Demos. Optional, but useful for getting started quickly.

Installing Java ME SDK Plugins in NetBeans

The initial plugin installation is a manual procedure. Once the plugins are installed, changes are managed by the Java ME SDK Update Center.

  1. Install the SDK as described in "Installing the Java ME SDK Platform".

  2. Download the plugin .zip file and extract the contents to a directory on your local machine.

    If you are installing on 7.2.1 or higher, skip to step 5.

  3. If you are installing on 7.1.2, go to the NetBeans Plugins manager, click the Settings tab and uncheck the standard NetBeans update centers. This prevents the installation of version 3.0 plugins.

  4. If 3.0.5 plugins are installed, uninstall them.

    The plugin integration mechanism changed between NetBeans 7.1.2 and 7.2.1. Because the mechanism is different, there is no automated upgrade path from 3.0.5 to 3.2. Version 3.0.5 plugins must be uninstalled before 3.2 plugins are installed.

    Restart NetBeans after the 3.0.5 plugins are uninstalled.

  5. Click the Add button and create a new update center that points to the directory containing the plugin files.

  6. Start the Plugins manager (Tools > Plugins).

    On the Available Plugins tab, locate the NetBeans plugins.

    In the Install column check the desired plugins, then click the Install button.

  7. Restart NetBeans.

  8. 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 activated.

The Java ME SDK is ready to use.

Installing Java ME Plugins in Eclipse

The Java Me SDK implementation in Eclipse relies on Mobile Tools for Java (MTJ) technology.

The initial plugin installation is a manual procedure. Once the plugins are installed, changes are managed by the Java ME SDK Update Center.

Indigo

Follow these steps to install the Java ME SDK on Eclipse Indigo. Indigo includes MTJ so the installation follows standard Eclipse procedures.

  1. Install the Java ME SDK as described in "Installing the Java ME SDK Platform".

  2. Install Indigo. Download and install a recent version of Indigo.

  3. Install the Plugin.

    1. Download the plugin file eclipse-me-sdk-plugins-uc.zip from http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html.

    2. In Eclipse, go to Help > Install New Software... and press the Press the Add button.

    3. In the Add Repository window, press the Archive button and select the plugin .zip file that you downloaded. Press Open to return to the previous dialog, then OK.

      The category Java ME SDK Tools appears in the Name area. Check the box in front of Java ME SDK Tools and click Next at the bottom of the page.

    4. After the installation details are displayed, press Next.

    5. Accept the terms of the license agreement and click Finish.

    6. Check the Java ME SDK Tools Category and its subcategories and press the Next button to start the Add wizard. Accept the terms of the license agreement and click Finish. The installation process starts. At its conclusion, restart Eclipse.

  4. Configure Eclipse as follows:

    1. Select Window > Open Perspective > Other and choose Java ME, then click OK.

    2. Select Window > Preferences > Java ME and select Device Management, and click Manual Install.

      In the "Specify search directory" field, enter the location of the Java ME SDK platform installation. For example:

      C:\Java_ME_platform__SDK_3.2.

      When the five default devices are detected, make sure all the devices are checked and click Finish. Click OK to close the installation window.

    3. If you don't see the Device Selector on the lower left, select Window > Show View > Device Selector.

The Java ME SDK is ready to use.

Juno

Install a recent version of Eclipse. A reasonable version might be Juno Classic 4.2. The Oracle Java ME SDK requires the MTJ toolkit, but it is not bundled with Juno and it must be installed manually.

  1. Install the MTJ toolkit.

    1. Go to Help > Install New Software.

    2. In the “Work with” field, enter this URL: http://download.eclipse.org/releases/indigo

    3. Click Add.

      When the plugins are discovered, open the Mobile and Device Development Tools hierarchy and check Mobile Tools for Java Examples and Mobile Tools for Java SDK. Click Next.

      On the installation screen select all plugins and click Finish then click OK.

    4. A Juno plugin named org.eclipse.jetty.server_<version>.jar conflicts with the MTJ libraries when the plugin version is higher than 6.

      If it is you must prevent it from loading by changing its name so the Jar file is not parsed. Locate the file in your Juno installation's \plugins directory and change the extension from .jar to something else.

      For example, change it to: org.eclipse.jetty.server_<version>.old

  2. Go to the "Indigo" installation procedure above and perform all the installation and configuration steps.

Known Problems

Documentation Accessibility

This release includes PDF documentation in the binary download. For an HTML version of the documentation that is suitable for screen readers, please visit the Java ME Developer Tools documentation page at http://download.oracle.com/javame/developer.html and choose this version of Oracle Java ME SDK.

When using NetBeans, see the online help topic “About Accessibility” for a complete list of keyboard shortcuts. Java ME SDK online help in keyboard shortcuts are summarized in the online help topic “Help Viewer Shortcuts”.

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

Access to Oracle Support

Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Installation and Runtime Security Guidelines

The Oracle Java ME SDK requires an execution model that makes certain networked resources available for emulator execution. These required resources might include, but are not limited to, a variety of communication capabilities between the Java ME SDK components. It is extremely important to note that the Oracle Java ME SDK installation and runtime system is fundamentally a developer system that is not specifically designed to guard against any malicious attacks from outside intruders. Given this, the Oracle Java ME SDK architecture can present an insecure operating environment to the Oracle Java ME SDK installation file system itself, as well as its runtime environment, during execution. For this reason, it is critically important to observe the precautions outlined in the following security guidelines when installing and running the Oracle Java ME SDK.

To maintain optimum network security, Oracle Java ME SDK can be installed and run in a “closed” network operating environment, meaning the Oracle Java ME SDK system is not connected directly to the Internet, or to a company Intranet environment that could introduce unwanted exposure to malicious intrusion. This is the ideal secure operating environment when it is possible. Oracle Java ME SDK does not require an “Intranet” connection that supports network connections to systems outside the Oracle Java ME SDK architecture to intra-company resources.

An example of a requirement for an Internet connection is Oracle Java ME SDK running wireless functionality that requires a connection to the Internet to support the communications with the wireless network infrastructure that is part of the Java ME application execution process. Whether or not an Internet connection is required depends on the particular Java ME application running on Oracle Java ME SDK. For example, some Java ME applications can use an HTTP connection. In any case, if the Oracle Java ME SDK is open to any network access you must observe the following precautions to protect valuable resources from malicious intrusion:


Oracle® Java Micro Edition Software Development Kit, Release 3.2 for Windows

E25309-06

Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.