Download and install Microsoft Device Emulator with device images for Windows Mobile 6.
Download and install Microsoft Virtual PC.
Note - Installs virtual switch driver required for emulated network adapters.
Run Windows Mobile 6 Professional Emulator and bind its emulated NE2000 Network Adapter to a desktop network card.
Consult the Microsoft device emulator documentation for instructions.
Don’t use ActiveSync for networking (cradling the emulator).
Write down the IP address of the emulator.
Open the Start menu on the emulator, click Settings, click Connections, click Network Cards, Click NE2000 Compatible Ethernet Driver.
Open Emulator Properties
Open the File menu.
Set JavaMESdkHome\on-device\winmobile-arm as a shared folder.
Browse to JavaMESdkHome\on-device\winmobile-arm.
Run File Explorer on the emulator.
Open Start menu.
Click File Explorer.
Start the Sun Java CLDC Emulation CAB file installation.
Open Show menu.
Select Storage Card.
Click on the sun-java-cldc-emu.cab file.
Finish the installation and run the Sun Java CLDC Emulation.
Use the installdir/bin/device-address tool to register the emulator IP address in the SDK. See Managing Device Addresses (device-address).
Execute the following command to ensure the SDK registers the emulator:
address should be the IP address written down in step 4.
After the device registers the emulator the device selector window should display the device as CldcWinceEmunumber and it should also appear in the output when you issue the emulator.exe -Xquery command.