Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0

Get PDF Book Print View

Document Information

Getting Started

Java ME Platform SDK Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Lightweight UI Toolkit

Security and MIDlet Signing

BD-J Support

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator

On-device Debugging

Command Line Reference

Launching the SDK

Running the Device Manager

Managing Device Addresses (device-address)

Running the Emulator From the Command Line

MIDlet Options

CDC Options

Debugging and Tracing Options

Building a Project from the Command Line

Checking Prerequisites

Compiling Class Files

Preverifying Class Files

Packaging a MIDLet Suite (JAR and JAD)

Command Line Security Features

Changing the Emulator's Default Protection Domain

Signing MIDlet Suites (jadtool.exe)

Managing Certificates (MEKeyTool)

Generating Stubs (wscompile)

Running the Payment Console From the Command Line

Virtual Machine Memory Profiler (Java Heap Memory Observe Tool)

Running the Java Heap Memory Observe Tool

Viewing the Heap Snapshot

Running WMA Tool








JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSRs 184, 226, and 239: Graphics Capabilities

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 238: Mobile Internationalization API (MIA)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support


Managing Certificates (MEKeyTool)

MEKeyTool manages the public keys of certificate authorities (CAs), making it functionally similar to the keytool utility that comes with the Java SE SDK. The keys can be used to facilitate secure HTTP communication over SSL (HTTPS).

Before using MEKeyTool, you must first have access to a Java Cryptography Extension keystore. You can create one using the Java SE keytool utility.

See http://java.sun.com/javase/6/docs/technotes/tools/windows/keytool.html.

To run MEKeyTool, open a command prompt, change the current directory to installdir\bin, and enter the following command:

mekeytool.exe -command

The command keywords follow.

The Java ME Platform SDK contains a default ME keystore called _main.ks, which is located in the installdir\runtimes\cldc-hi-javafx\appdb. This keystore includes all the certificates that exist in the default Java SE platform keystore that comes with the Java SE installation.

Also, each emulator instance has its own _main.ks file located in userhome/javme-sdk/3.0/work/emulator-instance/appdb.If you do not specify a value for MEKeystore, a new key is added to the default ME key for this emulator instance.

If you do not specify a value for -keystore, the default keystore is used: C:\Documents and Settings\user\.keystore.ks