Skip Headers
Oracle® Java ME Embedded Getting Started Guide for the Windows Platform
Release 8 EA 2 for NetBeans on Windows
E48511-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

Beta Draft: 2014-02-15

A Using the Command Line Emulator

The Oracle Java ME SDK 8 EA 2 Embedded emulator can be started from a Windows command line. Once started, it runs and behaves the same as it does when started from NetBeans 8.0 Beta.

Starting the emulator from the Windows command line allows you to use a number of emulator options. For more information, see "Useful Emulator Commands".

Finding the Oracle Java ME SDK 8 EA 2 Emulator

You can find the Oracle Java ME SDK 8 EA 2 command line emulator in the bin directory of the Oracle Java ME SDK 8 EA 2 installation.

For example, if the Oracle Java ME SDK 8 EA 2 is installed in C:\Java_ME_platform_SDK_8.0_EA, then the emulator would be located at: C:\Java_ME_platform_SDK_8.0_EA\bin\emulator.exe

Using the Oracle Java ME SDK 8 EA 2 Emulator

To start the emulator from the Windows command line:

  1. Open the Windows command line from the Start Menu, using Start > Run.

  2. Change to the bin directory of the Oracle Java ME SDK 8 EA 2 distribution:

    C:\>cd Java_ME_platform_SDK_8.0_EA\bin

  3. Enter the following command, as shown here:

    emulator.exe -Xdevice:EmbeddedDevice1 -Xdescriptor:location_of_jad_file

    For example:

    emulator.exe -Xdevice:EmbeddedDevice1 -Xdescriptor:C:\Java_ME_platform_SDK_8.0_EA\apps\sample\sample_imlet.jad


    Note:

    You can run the emulator command without the .exe extension. It works both ways, with the extension and without


Useful Emulator Commands

This section provides a list of Oracle Java ME SDK 8 EA 2 emulator commands you may find useful, which can be entered on the Windows command line.


Note:

For a complete list of Oracle Java ME SDK 8 EA 2 emulator commands, type: emulator -help.