<br><div class="gmail_quote">On Sun, May 17, 2009 at 8:16 PM, Juan Lucas Dominguez Rubio <span dir="ltr">&lt;<a href="mailto:jldominguez@prodevelop.es">jldominguez@prodevelop.es</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div dir="ltr"><div dir="ltr"><div class="im"><br><a href="http://m.google.com/app/v2.0.6/L1/gmail-g.jar" target="_blank">http://m.google.com/app/v2.0.6/L1/gmail-g.jar</a></div></div>
<div dir="ltr"> </div>
<div dir="ltr">is a midlet (JME-CLDC), so you cannot start it as you would do with a JSE or JME-CDC application.</div>
<div dir="ltr"> </div>
<div dir="ltr"></div></div></div></blockquote><div><br><br></div></div>Thanks Juan, now I know I need to figure out how to run midlets in my moko.<br><br>Apparently there are two ways, using midpath or Phone ME Advanced: <a href="http://www.geekzone.co.nz/forums.asp?forumid=100&amp;topicid=27944">http://www.geekzone.co.nz/forums.asp?forumid=100&amp;topicid=27944</a><br>

<br>I almost managed to run it using midpath. I had to install midpath-core and midpath-openmoko, and then run $ midpath-launcher-j2se -jar gmail-g.jar  <br><br>I had to edit the script midpath-launcher-j2se because it needs to run on bash, and in SHR the shell is busybox.<br>

<br>The application started (draw a window) but then threw a  java.lang.NullPointerException :(<br><br>I wonder if it would work better with Phone ME Advanced, but it seems more complicated. I tried to adapt the instructions you gave me but I can&#39;t figure out what is the &quot;midppath&quot; in my system. If I ommit such path like this<br>

<br>cvm -Xmx2m -Dmicroedition.profiles=MIDP-2.1 -<a href="http://Dsun.midp.library.name">Dsun.midp.library.name</a>=midp &quot;-Dsun.boot.class.path=\phoneme\dual\lib\btclasses.zip&quot; &quot;-Dsun.midp.home.path=\phoneme\dual\midp\midp_wince&quot; -<a href="http://Dcom.sun.midp.mainClass.name">Dcom.sun.midp.mainClass.name</a>=com.sun.midp.main.CdcMIDletSuiteLoader sun.misc.MIDPLauncher -suitepath &quot;gmail-g.jar&quot; -1 com/google/mail/ui/midp/GoogleMailMidlet.class<br>

<br>I get the error java.lang.ClassNotFoundException: sun/misc/MIDPLauncher<br><br>Suggestions?<br><br>Thanks,<br>Francesc<br><br><br><br><br><br><br><br><br>