|Oracle® Java Micro Edition Software Development Kit Developer's Guide
Release 3.2 for Windows
The Oracle Java ME SDK can be installed on a system running a supported operating system version. All users with an account on the host machine can access the SDK. This feature is called the Multiple User Environment.
The Multiple User Environment supports access from several accounts. It does not support multiple users accessing the SDK simultaneously. See Section 8.1, "Switching Users".
To support multiple users the SDK creates an installation directory that is used as a source for copying. This document uses the variable work to represent the SDK working directory and installdir to represent the Oracle Java ME SDK installation directory. Each user's personal files are maintained in a separate working directory named
javame-sdk that has a subdirectory for each version installed.
Multiple users cannot run the SDK simultaneously, but, you can run the SDK from different user accounts on the SDK host machine. When you switch users, you must close the SDK and exit the Device Manager, as described in Section 6.1.1, "The Device Manager on Windows". A different user can then launch the SDK and own all processes.
The SDK directory structure conforms to the Unified Emulator Interface Specification (
http://java.sun.com/j2me/docs/uei_specs.pdf), version 1.0.2. This structure is recognized by all IDEs and other tools that work with the UEI.
The installation directory has the following structure:
bin. The bin directory contains the following command line tools. The default location of the bin directory is:
cref.Java Card simulator for working with SATSA JSR 177. See Section 21.2, "Java Card Platform Simulator (cref)".
device-address is a tool for viewing, adding, and removing devices that the SDK is not able to discover automatically. See Section 14.2, "Manage Device Addresses (device-address)".
device-manager. The device manager is a component that must be running when you work with Oracle Java ME SDK. After installation it starts as a service, and it automatically restarts every time your computer restarts. See Section 6.1, "Emulating Devices".
emulator. UEI compliant emulator. See Section 14.3, "Emulator Command Line Options".
jadtool. Tool for signing MIDlets. See Section 14.6.2, "Sign MIDlet Suites (jadtool)".
mekeytool. Management of ME keystores. See Section 14.6.3, "Manage Certificates (MEKeyTool)".
preverify. The Java ME preverifier.
skin-creator.exe. Tool for creating new skins. See Section 6.11.1, "Creating a New Custom Device Skin".
wma-tool. A command line tool for sending and receiving SMS, CBS, and MMS messages. See Section 23.3, "Running WMA Tool".
wscompile. Compiles of stubs and skeletons for JSR 172. See Section 14.7, "Generate Stubs (wscompile)".
docs. Release documentation.
legal. License and copyright files.
lib. JSR JAR files for compilation.
runtimes. CDC, CLDC, and IMP-NG runtime files.
toolkit-lib. Java ME SDK files for configuration and definition of devices and UI elements. Executables and configuration files for the device manager and other SDK services and utilities.
These are the default NetBeans user directories.
NetBeans default project location:
To see the NetBeans user directory, select Help > About in the main window. The default location is:
Device working directories
The named subdirectories each correspond to an emulation device, as described in Table 8-1. Any detected real devices are also added to this directory space. Device detection is described in Section 6.2, "Adding a Real Device."
This directory contains the bean files for the adapter categories. The beans in this directory and subdirectories determine whether a skin is visible in the Device Selector, among other things. You should not manipulate these files directly.
See Section 6.11, "Using the Custom Device Skin Creator" for instructions on creating your own custom skin.
Both default skins and custom skins created with the Custom Device Skin Creator are represented in the device-adapter directory.
Do not manipulate custom skin files from the operating system. All custom skin activity should take place in the Custom Device Skin Creator.