Installing the J9 JVM run-time environment on a Windows CE device

Currently, only StrongARM devices are supported on Pocket PC. If your device has a different processor type, you can try another JVM that supports JNI (for example, Sun PersonalJava, Insignia Jeode, NSIcom CrEme). If you use a JVM other than the J9 JVM, you must modify \SDK\JSP\WinCE\MiniHttpServer.lnk accordingly.

This installation of J9 allows you to run the sample JSP applications. You may need to install additional J9 files for your own applications.

This task is part of the main task of Setting up for JSP development on a Windows CE device. After you complete these steps, return to Setting up for JSP development on a Windows CE device.

Procedure

To install the J9 JVM run-time environment:

  1. Install WebSphere Studio Device Developer v5.5 (WSDD) on your workstation. The evaluation version of WSDD is available for download at http://www.ibm.com/software/pervasive/products/wsdd/. In the steps below, <WSDD> refers to the directory where you installed WSDD.
  2. In WSDD, use the Update Manager to install WCE Tooling for WSDD.
    1. Click Help --> Software Updates --> Update Manager to open the Install/Update Perspective.
    2. In the Features Updates view, expand the following nodes: Sites to Visit -> WebSphere Custom Environment -> WebSphere Custom Environment.
    3. Click on WCE Tooling for WSDD 5.5.0.
    4. In the Preview view, click the Install button and follow the steps to install.
    5. Install the following additional features by following similar steps:
      • WCE jclMax Class Library
      • WCE Database Enabler Library
      • WCE Personal Configuration Class Library
  3. Create the following directory structure on your device:
    \wsdd\bin
    \wsdd\lib
    \wsdd\lib\jclMax
    
  4. Copy the following files to \wsdd\bin:
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9.exe
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9dyn20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9int20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9max20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9prt20.dll 
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9thr20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9vm20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\j9zlib20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\iverel20.dll
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\arm\ive\bin\swt-win32-2104.dll
    
  5. Copy the following file to \wsdd\lib:
    <WSDD>\wsdd5.0\ive\runtimes\common\ive\lib\charconv.zip
    
  6. Copy the following files to \wsdd\lib\jclMax:
    <WSDD>\wsdd5.0\ive\runtimes\common\ive\lib\jclMax\classes.zip
    <WSDD>\wsdd5.0\ive\runtimes\common\ive\lib\jclMax\database_enabler.jar
    <WSDD>\wsdd5.0\ive\runtimes\common\ive\lib\jclMax\locale.zip
    <WSDD>\wsdd5.0\ive\runtimes\pocketpc\common\ive\lib\jclMax\prsnlwin.jar
    

Return to Setting up for JSP development on a Windows CE device.