How to get .jar files to work on mobile phone

Hello

How can I get .jar files to work on mobile phone? I use EclipseME with WTK 2.2, and my program is working in the emulator in Eclipse, but when I try to run the .jar file on my SonyEricsson mobile phone, I just get an error message "the installation failed".

I have just moved the .jar-file to the phone with my USB cable.

I am a bit confused, because regular java programs uses the main method to start the program, what does J2ME programs use? I use MIDlet/WTK 2.2.

Message was edited by:

Mr.ArthurP

[546 byte] By [Mr.ArthurPa] at [2007-11-26 19:15:00]
# 1
is your MIdlet suite compatible with phone settings: CLDC and MIDP for example...and please read this http://developers.sun.com/techtopics/mobility/learn/midp/lifecycle/
suparenoa at 2007-7-9 21:26:32 > top of Java-index,Java Mobility Forums,Java ME Technologies...