Using IBM's Java VM to run Mobile GMaps on Windows-Mobile PocketPC or Smartphone

thanks to Turgan Savas, Jocky Wilson and others
updated April 11th, 2008

  1. Download and Install IBM's WEME 2.0
    1. Browse to WebSphere Everyplace Micro Environment download page. UPDATE: The files are mirrored here.
    2. Register for the site
    3. Download and install on your PC the Windows, Windows CE, Windows-Mobile version under WebSphere Everyplace Micro Environment page:
      • For Windows-Mobile smartphone, get CLDC 1.1/MIDP 2.0 for Windows Mobile 5.0 Smartphone Edition/ARM, executable file: ibm-weme-wm50-sp-arm-midp20_6.1.1.20061110-161633.exe (41.2MB)
      • For Windows-Mobile PDA (PocketPC), get CLDC 1.1/MIDP 2.0 for Windows Mobile 5.0/ARM, executable file: ibm-weme-wm50-arm-midp20_6.1.1.20061110-161633.exe (41.2MB)
    4. If you get the following error upon installing WEME:
      "Invalid detected. Please delete in /lib/jclMidp20/ and restart the MIDlet."
      get an older version of J9 from this link. Also check step #15.

  2. Browse to where the files are installed
  3. Find the zip file under this directory: or

  4. Extract it, and move all extracted files to your pocket pc or memory card, under a \J9\MIDP2\ directory.

  5. Go to your device to where you moved the files, run EMULATOR.exe which is will be under J9\MIDP2\BIN directory
    Step 5

  6. You will be presented with the following screen:
    Step 6

  7. Now go to Download Page download and move JAD and JAR files to the root directory of your pocket pc. Under windows file explorer, pocket pc root is usually titled "My Windows Mobile-Based Device".

  8. Once these files are on the root, type file:///mgmaps.jad in the url field to install the signed version of the application from the JAD. Click Ok.
    Step 8

  9. You'll see a bunch of confirmation screens. Click ok.
    Step 9-1 Step 9-2 Step 9-3 Step 9-4

  10. Once finished, run Mobile GMaps.
    Step 10-1 Step 10-2

  11. If you see the following when you finally launch Mobile GMaps you have to set up your proxy:
    Step 11

  12. Optional, only if needed (for T-Mobile): Once the program is launched, go to settings to setup proxy. Enter proxy settings:
    1. For more proxy settings information for T-Mobile check here or here.
    2. Settings for T-Mobile: Primary Proxy Port Number: 8080.
    Step 12-1 Step 12-2 Step 12-3

  13. Set up the GPS, if you have one. In the application menu select Settings, then GPS, Select Device, Serial, Custom and enter the COM port for your GPS, for example COM6.
    If you have a bluetooth GPS, find out the name of the virtual serial port assigned for it and enter it as described above. If you have an internal GPS on WM6, you can assign a virtual serial port to it with this GPSID Configuration utility.

  14. The new stored maps feature requires JSR-75 support. Unfortunately JSR-75 is not included in the standard IBM J9 package for WM5/6 devices. Luckily IBM offers an extension which is easy to install. You only have to copy 2 files to the right location. This is described in detail in the blog of Markus Brosch: If you already installed IBM J9 then there are only 3 steps:
    1. Download this jar from IBM. Unzip it. It contains a folder called "fixed". Mirrored here.
    2. Copy: fixed\ive-2.2\runtimes\wm2003\arm\midp2\bin\fileconn.dll into this folder on you mobile device: \Storage Card\J9\MIDP2\bin\
    3. Copy: fixed\ive-2.2\runtimes\wm2003\arm\midp2\lib\jclMidp20\ext\fc.jar into this folder on you mobile device: \Storage Card\J9\MIDP2\lib\jclMidp20\ext\
    After you installed JSR-75 restart IBM J9 and start MGMaps, go into Settings - Map Browsing and select the "Stored Maps" checkbox. In the "Storage Path" textbox enter "/Storage Card" if you stored the offline map directory under the root directory of the memory card.

  15. If you're using a Windows-Mobile 6.0 phone, you may see junk characters instead of screen messages and menu.
    Step 15
    If this happens, you need to edit the file named "" in the folder "J9\MIDP2\lib\jclMidp20\". Change the text in that file to:
    LcduiSystemFont: Windows\tahoma.ttf
    LcduiSystemBoldFont: Windows\tahomabd.ttf
    LcduiMonospaceFont: Windows\tahoma.ttf
    LcduiMonospaceBoldFont: Windows\tahomabd.ttf
    LcduiProportionalFont: Windows\tahoma.ttf
    LcduiProportionalBoldFont: Windows\tahomabd.ttf
    If your phone doesn't have these fonts, simply copy the .ttf files from your computer's font list into the phone's \Windows folder.

  16. Anyhow, if everything works out fine, once you are done using the app to run Mobile GMaps next time, browse to "\Storage Card\J9\MIDP\bin\" and run Emulator, select Mobile GMaps and choose Launch from Actions menu.

Back to homepage

Copyright © 2007-2008 Cristian Streng