Topic
7 replies Latest Post - ‏2008-04-10T08:33:25Z by SystemAdmin
SystemAdmin
SystemAdmin
9394 Posts
ACCEPTED ANSWER

Pinned topic Installing J9 on PocketPC. What files are needed?

‏2006-11-07T05:42:11Z |
I just installed the newest WSDD and am trying to build and run some of the RedBook's sample applications on my PocketPC 2003 device. Whenever I run an application on the device, I see the following:

(W)J9VM0011
(E)EXEX0013
(I)EXEX0014

My .lnk file for the Timer sample application is:

196#"\Program Files\WSDD\bin\j9.exe" "-classpath" "\Program Files\My Apps\Timer.jar" "-Xrunjdwp:transport=dt_socket,address=10.0.1.50:8096" "-Xdebug" "-Xrdbginfo:10.0.1.50:11170" "-jcl:ppro10" "Timer"
I am really not sure what files are needed in what directories on my device. Can someone fill me in on this?

Thanks,
Jonathan
Updated on 2008-04-10T08:33:25Z at 2008-04-10T08:33:25Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    9394 Posts
    ACCEPTED ANSWER

    Re: Installing J9 on PocketPC. What files are needed?

    ‏2006-11-08T21:42:09Z  in response to SystemAdmin
    none09238409238@aol.com wrote:
    > I just installed the newest WSDD and am trying to build and run some of the RedBook's sample applications on my PocketPC 2003 device. Whenever I run an application on the device, I see the following:
    >
    > (W)J9VM0011
    > (E)EXEX0013
    > (I)EXEX0014

    It looks as if you're missing at least the translation components. There
    is a separate .cab file for each language that's supported; you need to
    install that after installing the main J9 .cab file.

    I think the error messages you're seeing are:

    J9VM0011=Unable to load %s\: %s
    EXEX0013=Internal VM error\: Failed to create Java VM
    EXEX0014=Run %s -help for usage

    Usually this means you've installed the MIDP VM and are trying to run
    -jcl:ppro10 or vice versa. Are you sure the VM you've installed has the
    PPro libraries? Check in the \Program Files\WSDD\lib directory to be sure.

    Andrew Jr.

    ======================================================================
    IBM Phoenix Labs (OTI)
    2929 North Central Avenue
    Phoenix, Arizona, USA 85012
    • SystemAdmin
      SystemAdmin
      9394 Posts
      ACCEPTED ANSWER

      Re: Installing J9 on PocketPC. What files are needed?

      ‏2006-11-08T22:19:01Z  in response to SystemAdmin
      I have a similar problem where I do see more information:

      JVMJ9VM0011=Unable to load jclcldc10_23: (126) The specified module could
      not be found
      JVMEXEX0013=Internal VM error: Failed to create Java VM
      JVMEXEX0014=Run \J9\MIDP20\bin\j9.exe -help for usage

      I have installed the 6.1 CLDC1.1/MIDP2.0 JVM for Windows Mobile 5.0 on ARM
      that originated from this exe downloaded from the site:
      ibm-weme-wm50-arm-midp20_6.1.0.20060727-102926.exe

      I do not see a dll in the bin directory with this name included in the files
      that were installed on my PC and subsequently copied to the PDA.

      Is there a way I can get this file or am I doing something wrong to make
      this error happen?

      thanks,
      Matt

      "Andrew Cornwall" <nobody.there@127.0.0.1> wrote in message
      news:eitiv4$2dk14$1@news.boulder.ibm.com...
      > none09238409238@aol.com wrote:
      >> I just installed the newest WSDD and am trying to build and run some of
      >> the RedBook's sample applications on my PocketPC 2003 device. Whenever I
      >> run an application on the device, I see the following:
      >>
      >> (W)J9VM0011
      >> (E)EXEX0013
      >> (I)EXEX0014
      >
      > It looks as if you're missing at least the translation components. There
      > is a separate .cab file for each language that's supported; you need to
      > install that after installing the main J9 .cab file.
      >
      > I think the error messages you're seeing are:
      >
      > J9VM0011=Unable to load %s\: %s
      > EXEX0013=Internal VM error\: Failed to create Java VM
      > EXEX0014=Run %s -help for usage
      >
      > Usually this means you've installed the MIDP VM and are trying to
      > run -jcl:ppro10 or vice versa. Are you sure the VM you've installed has
      > the PPro libraries? Check in the \Program Files\WSDD\lib directory to be
      > sure.
      >
      > Andrew Jr.
      >
      > ======================================================================
      > IBM Phoenix Labs (OTI)
      > 2929 North Central Avenue
      > Phoenix, Arizona, USA 85012

      • SystemAdmin
        SystemAdmin
        9394 Posts
        ACCEPTED ANSWER

        Re: Installing J9 on PocketPC. What files are needed?

        ‏2006-11-08T22:21:27Z  in response to SystemAdmin
        Sorry, forgot this info.

        This is how I am trying to invoke j9:

        175#"\Program Files\J9\MIDP20\bin\j9.exe" -classpath "\Program
        Files\Company\App.jar" "-jxe \Program
        Files\J9\MIDP20\lib\jclMidp20\jclMidp20.jxe" "\Program
        Files\Company\App.jad"

        "Matt Poole" <matt.poole@airclic.com> wrote in message
        news:eitl4p$1fs7g$1@news.boulder.ibm.com...
        >I have a similar problem where I do see more information:
        >
        > JVMJ9VM0011=Unable to load jclcldc10_23: (126) The specified module could
        > not be found
        > JVMEXEX0013=Internal VM error: Failed to create Java VM
        > JVMEXEX0014=Run \J9\MIDP20\bin\j9.exe -help for usage
        >
        > I have installed the 6.1 CLDC1.1/MIDP2.0 JVM for Windows Mobile 5.0 on ARM
        > that originated from this exe downloaded from the site:
        > ibm-weme-wm50-arm-midp20_6.1.0.20060727-102926.exe
        >
        > I do not see a dll in the bin directory with this name included in the
        > files that were installed on my PC and subsequently copied to the PDA.
        >
        > Is there a way I can get this file or am I doing something wrong to make
        > this error happen?
        >
        > thanks,
        > Matt
        >
        > "Andrew Cornwall" <nobody.there@127.0.0.1> wrote in message
        > news:eitiv4$2dk14$1@news.boulder.ibm.com...
        >> none09238409238@aol.com wrote:
        >>> I just installed the newest WSDD and am trying to build and run some of
        >>> the RedBook's sample applications on my PocketPC 2003 device. Whenever I
        >>> run an application on the device, I see the following:
        >>>
        >>> (W)J9VM0011
        >>> (E)EXEX0013
        >>> (I)EXEX0014
        >>
        >> It looks as if you're missing at least the translation components. There
        >> is a separate .cab file for each language that's supported; you need to
        >> install that after installing the main J9 .cab file.
        >>
        >> I think the error messages you're seeing are:
        >>
        >> J9VM0011=Unable to load %s\: %s
        >> EXEX0013=Internal VM error\: Failed to create Java VM
        >> EXEX0014=Run %s -help for usage
        >>
        >> Usually this means you've installed the MIDP VM and are trying to
        >> run -jcl:ppro10 or vice versa. Are you sure the VM you've installed has
        >> the PPro libraries? Check in the \Program Files\WSDD\lib directory to be
        >> sure.
        >>
        >> Andrew Jr.
        >>
        >> ======================================================================
        >> IBM Phoenix Labs (OTI)
        >> 2929 North Central Avenue
        >> Phoenix, Arizona, USA 85012
        >
        >

        • SystemAdmin
          SystemAdmin
          9394 Posts
          ACCEPTED ANSWER

          Re: Installing J9 on PocketPC. What files are needed?

          ‏2006-11-09T14:48:19Z  in response to SystemAdmin
          In case it helps anyone else, I was able to resolve my problem by changing it to this:

          230#"\Program Files\J9\MIDP20\bin\j9.exe" "-jcl:midp20" "-classpath" "\Program Files\App\App.jar" "-Xbootclasspath:\Program Files\J9\MIDP20\lib\jclMidp20\jclMidp20.jxe" javax.microedition.lcdui.AppManager "\Program Files\App\App.jad"
          • SystemAdmin
            SystemAdmin
            9394 Posts
            ACCEPTED ANSWER

            Re: Installing J9 on PocketPC. What files are needed?

            ‏2008-04-10T08:33:25Z  in response to SystemAdmin
            Hi there,

            I am tying to run my application on emulator Windows mobile 5, I have installed the J9, i have tried to run a simple program just to sysout a text but i have created a .jar and .jad files for it and I am trying to run it through the command you have mentioned here

            But it gives me an error saying: unable to find jad or jar file

            I have followed these steps:

            1. ibm-weme-wm50-arm-midp20_6.1.1.20061110-161633.exe this where i got the j9 from
            2. After running this exe, I had this jar "weme-wm50-arm-midp20_6.1.1.20061110-161633.zip" at the location,
            I extracted the files out of it and got bin and lib folder from inside
            3. Pasted these folders in the Emulator, under Program Files > J9 > MIDP20
            4. Copied my application.jar and application.jad files in \My Documents\java\ and created a link file with the command in it.

            your any help will be appreciable

            Regards
            paraakaram
    • SystemAdmin
      SystemAdmin
      9394 Posts
      ACCEPTED ANSWER

      Re: Installing J9 on PocketPC. What files are needed?

      ‏2006-11-10T23:41:43Z  in response to SystemAdmin
      > none09238409238@aol.com wrote:
      > > I just installed the newest WSDD and am trying to
      > build and run some of the RedBook's sample
      > applications on my PocketPC 2003 device. Whenever I
      > run an application on the device, I see the
      > following:
      > >
      > > (W)J9VM0011
      > > (E)EXEX0013
      > > (I)EXEX0014
      >
      > It looks as if you're missing at least the
      > translation components. There
      > is a separate .cab file for each language that's
      > supported; you need to
      > install that after installing the main J9 .cab file.
      >
      > I think the error messages you're seeing are:
      >
      > J9VM0011=Unable to load %s\: %s
      > EXEX0013=Internal VM error\: Failed to create Java VM
      > EXEX0014=Run %s -help for usage
      >
      > Usually this means you've installed the MIDP VM and
      > are trying to run
      > -jcl:ppro10 or vice versa. Are you sure the VM you've
      > installed has the
      > PPro libraries? Check in the \Program Files\WSDD\lib
      > directory to be sure.
      >
      > Andrew Jr.
      >
      > ======================================================
      > ================
      > IBM Phoenix Labs (OTI)
      > 2929 North Central Avenue
      > Phoenix, Arizona, USA 85012

      Thanks for the response.

      Where do I need to install the cab files to? Right now, I copied over all of the exes and .dlls from my jclPPro folder to the \Program Files\WSDD\bin folder.

      I haven't been able to find any sort of instructions as to what files need to be copied over to my PDA. Does something like this exist?

      Regards,
      Jonathan
      • SystemAdmin
        SystemAdmin
        9394 Posts
        ACCEPTED ANSWER

        Re: Installing J9 on PocketPC. What files are needed?

        ‏2006-11-13T17:52:15Z  in response to SystemAdmin
        none09238409238@aol.com wrote:
        > Where do I need to install the cab files to? Right now, I copied over all of the exes and .dlls from my jclPPro folder to the \Program Files\WSDD\bin folder.
        >
        > I haven't been able to find any sort of instructions as to what files need to be copied over to my PDA. Does something like this exist?

        If you're using WebSphere Studio Device Developer 5.7.1, you'll find the
        CAB files in C:\Program
        Files\IBM\DeviceDeveloper\wsdd5.0\ive-2.2\runtimes\wm2003\arm\foundation10\cab.
        Just copy the CAB files over to the root directory of your device, and
        click on them - they'll install in the right place (something like
        \J9\FOUN10) and disappear.

        If you're using WebSphere Everyplace Micro Environment 6.1, there should
        be an install.pdf file in the doc/ directory.

        Hope this helps!

        Andrew Jr.

        ======================================================================
        IBM Phoenix Labs (OTI)
        2929 North Central Avenue
        Phoenix, Arizona, USA 85012