Oracle® Java Micro Edition Software Development Kit Developer's Guide Release 3.2 for Eclipse on Windows E37550-02 |
|
Previous |
Next |
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.
Note: The Multiple User Environment supports access from several accounts. It does not support multiple users accessing the SDK simultaneously. See Section 6.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.
To locate logs, see Section 12.1, "Device Manager Logs" and Section 12.2, "Device Instance Logs."
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 5.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://www.oracle.com/technetwork/java/javame/documentation/ueispecs-187994.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:
installdir\bin
cref.
Java Card simulator for working with SATSA JSR 177. See Section 17.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 11.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 5.1, "Emulating Devices.".
emulator.
UEI compliant emulator. See Section 11.3, "Emulator Command Line Options."
jadtool
. Tool for signing MIDlets. See Section 11.6.2, "Sign MIDlet Suites (jadtool)."
mekeytool
. Management of ME keystores. See Section 11.6.3, "Manage Certificates (MEKeyTool)."
preverify
. The Java ME preverifier.
wma-tool
. A command line tool for sending and receiving SMS, CBS, and MMS messages. See Section 19.3, "Running WMA Tool."
wscompile
. Compiles of stubs and skeletons for JSR 172. See Section 11.7, "Generate Stubs (wscompile)."
docs
. Release documentation.
legal
. License and copyright files.
lib.
JSR JAR files for compilation.
runtimes
. 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.
By default, the Eclipse default workspace file is located at:
C:\Documents and Settings\
userhome\workspace
You can use the File > Switch Workspace command to change the location.
This documentation sometimes uses userhome to represent the root location of user files.
The javame-sdk
directory contains device instances and session information. If you delete this directory, it is re-created automatically when the device manager is restarted.
userhome\javame-sdk
\
3.2
Device working directories
userhome\javame-sdk\
3.2
\work
\devicename
The named subdirectories each correspond to an emulation device, as described in Table 6-1. Any detected real devices are also added to this directory space. Device detection is described in Section 5.2, "Adding a Real Device."