J2ME on Motorola's, builds but emulator crashes

E

evilkartman

Hi,
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?

thanks,
kevin
 
D

Darryl Pierce

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?

Make sure you're actually running your preverified code and not the
unpreverified stuff. Also, what JDK are you using?
 
E

evilkartman

Yes, using the preverified stuff, with JDK 1.4.. Any ideas? Thanks in
advance
 
M

mcpierce

Yes, using the preverified stuff, with JDK 1.4.. Any ideas? Thanks in
advance

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).
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top