J2ME on Motorola's, builds but emulator crashes

Discussion in 'Java' started by evilkartman, Jan 29, 2005.

  1. evilkartman

    evilkartman Guest

    I've been working on a midlet for the Motorola V300. I build it using
    an Ant file which already properly builds for a Nokia series 60 phone
    using the Nokia SDK. Now I'm trying to do the same for the Motorola
    V300 using their SDK. It passes preverification and builds without
    warning/error, but when I try to emulate it using the Motorloa
    emulator, it crashes after initializing the virutal screen with a
    "class check failed: An unknown error occured while checking the
    MIDlet." Any ideas on what might be causing this?

    evilkartman, Jan 29, 2005
    1. Advertisements

  2. Make sure you're actually running your preverified code and not the
    unpreverified stuff. Also, what JDK are you using?
    Darryl Pierce, Feb 1, 2005
    1. Advertisements

  3. evilkartman

    evilkartman Guest

    Yes, using the preverified stuff, with JDK 1.4.. Any ideas? Thanks in
    evilkartman, Feb 4, 2005
  4. evilkartman

    mcpierce Guest

    Download and incorporate the Antenna project into your ANT environment.
    You can download it from <http://antenna.sourceforge.net>. It'll make
    sure, at compile time, that the JDK is told to spit out the proper
    bytecode format (which seems to be the problem here).
    mcpierce, Feb 4, 2005
  5. Did you try my suggestion?
    Darryl Pierce, Feb 12, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.