Connect the device to your host computer and register it with ActiveSync.
Copy the Sun Java CLDC Emulation Installation CAB file onto the clipboard using Windows Explorer.
Browse to JavaMESdkHome\emulator-dev-install.
Right-click on sun-java-cldc-emu.cab.
Select Copy from the context menu.
Paste the CAB file into the device root directory.
In Windows Explorer, open Mobile Device.
Open My Windows Mobile-Based Device.
Open the Edit menu.
Click Paste to insert the CAB file.
Run the File Explorer on your device.
Open the Start menu.
Click File Explorer.
Start the CAB installation on the device.
Open the Show menu.
Select My Device.
Click on the sun-java-cldc-emu.cab file.
If asked during the installation, install the application on the device.
Wait for the installation to finish.
You can delete the CAB file after the installation is complete.
Press on sun-java-cldc-emu.cab label until the context menu opens.
Run the Sun Java CLDC Emulation on the device.
Open Start menu.
Click Sun Java CLDC EMU.
Wait for the Sun Java CLDC Emulation to start.
Allow up to 30 seconds (the default value) for Java ME SDK to recognize the connected device and the Sun Java CLDC emulation software.
When the device is recognized a new device, CldcWinceEmunumber (for example, CldcWinceEmu1) should appear in the Device Selector window, and the output from the command emulator.exe -Xquery should also be displayed.
You can select this device as a target device in the user interface, or if you run the emulator from the command line it can be used as an argument. For example:
emulator -Xdevice:CldcWinceEmu1 ...