No, i have compiled the java program on my pc and after I got the class file, i copied the class file to freerunner using scp from my pc.<br><br><div class="gmail_quote">On Fri, Oct 31, 2008 at 3:43 PM, Max Giesbert <span dir="ltr">&lt;<a href="mailto:giesbert@exactt.de">giesbert@exactt.de</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;">have you tried compiling the java class on the freerunner?<br>
<br>
Girish Revadigar schrieb:<br>
&gt; Hi,<br>
&gt;<br>
<div><div></div><div class="Wj3C7c">&gt; I tried according to your guidelines and got the cacao and jamvm<br>
&gt; installed onto my openmoko.(neo freerunner). I compiled a small<br>
&gt; HelloWorld program on my pc to generate HelloWorld.class file, which<br>
&gt; prints Hello World when run on my PC using: &nbsp;java HelloWorld command.<br>
&gt; After that i copied the same HelloWorld.class file to my openmoko device<br>
&gt; (freerunner) and tried to run using the cacao, but it gives the<br>
&gt; following error:<br>
&gt;<br>
&gt; output when run with cacao:<br>
&gt; ------------------------------<br>
&gt; ---------------------<br>
&gt; # cacao HelloWorld<br>
&gt; LOG: [0x400211d0] exception thrown while vm is initializing:<br>
&gt; LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object<br>
&gt; LOG: [0x400211d0] Aborting ...<br>
&gt; Aborted<br>
&gt;<br>
&gt; output when run with jamvm:<br>
&gt; ---------------------------------------------------<br>
&gt; # jamvm HelloWorld<br>
&gt; Exception occured while vm initialising.<br>
&gt; java/lang/NoClassDefFoundError: java/lang/Class<br>
&gt;<br>
&gt;<br>
&gt; Also tried running the test.jar file from cacao, and jamvm, that also<br>
&gt; gives the same result:<br>
&gt;<br>
&gt; output when tried to run jar file with cacao:<br>
&gt; ----------------------------------------------------------------<br>
&gt; # cacao -cp -jar test.jar<br>
&gt; LOG: [0x400211d0] exception thrown while vm is initializing:<br>
&gt; LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object<br>
&gt; LOG: [0x400211d0] Aborting ...<br>
&gt; Aborted<br>
&gt;<br>
&gt; output when tried to run jar file with jamvm:<br>
&gt; ------------------------------------------------------------------<br>
&gt; # jamvm -jar test.jar<br>
&gt; Exception occured while vm initialising.<br>
&gt; java/lang/NoClassDefFoundError: java/lang/Class<br>
&gt;<br>
&gt; What can be wrong in my settings? Please update me.<br>
&gt;<br>
&gt; Thank you<br>
&gt; Girish<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert &lt;<a href="mailto:giesbert@exactt.de">giesbert@exactt.de</a><br>
</div></div><div class="Ih2E3d">&gt; &lt;mailto:<a href="mailto:giesbert@exactt.de">giesbert@exactt.de</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; have you checked <a href="http://wiki.openmoko.org/wiki/Java" target="_blank">http://wiki.openmoko.org/wiki/Java</a> ?<br>
&gt;<br>
&gt; &nbsp; &nbsp; please update if necessary...<br>
&gt;<br>
&gt; &nbsp; &nbsp; Girish Revadigar schrieb:<br>
&gt; &nbsp; &nbsp; &gt; Hi,<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; I am new to openmoko. I want to run one of my java based GUI<br>
&gt; &nbsp; &nbsp; application<br>
&gt; &nbsp; &nbsp; &gt; on openmoko. But when I tried to check for the java support on the<br>
&gt; &nbsp; &nbsp; newly<br>
&gt; &nbsp; &nbsp; &gt; brought model, I found there is no java utility pre installed (Any JVM<br>
&gt; &nbsp; &nbsp; &gt; for running java apps). So can you guide me how can I set up my<br>
&gt; &nbsp; &nbsp; openmoko<br>
&gt; &nbsp; &nbsp; &gt; to run java applications on it? Is there any extra package I need to<br>
&gt; &nbsp; &nbsp; &gt; install? Please guide me, without finding it I can&#39;t proceed. Your<br>
&gt; &nbsp; &nbsp; &gt; valuable suggestion will be greatly helpful for me.<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; Thank you<br>
&gt; &nbsp; &nbsp; &gt; Regards<br>
&gt; &nbsp; &nbsp; &gt; Girish<br>
&gt; &nbsp; &nbsp; &gt; +91 99867 64809<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; ------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; _______________________________________________<br>
&gt; &nbsp; &nbsp; &gt; Openmoko community mailing list<br>
</div>&gt; &nbsp; &nbsp; &gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a> &lt;mailto:<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a>&gt;<br>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; &gt; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; --<br>
&gt; &nbsp; &nbsp; exactt technology<br>
&gt; &nbsp; &nbsp; Dipl. Inf. (FH) Max Giesbert<br>
&gt;<br>
&gt; &nbsp; &nbsp; Schießstättstr. 16 &nbsp; &nbsp; &nbsp;T: +49 17 75 07 53 44<br>
&gt; &nbsp; &nbsp; D-80339 München &nbsp; &nbsp; &nbsp; &nbsp; F: +49 89 1 22 21 97 02<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; Openmoko community mailing list<br>
</div>&gt; &nbsp; &nbsp; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a> &lt;mailto:<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt; &nbsp; &nbsp; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
&gt; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br>
--<br>
exactt technology<br>
Dipl. Inf. (FH) Max Giesbert<br>
<br>
Schießstättstr. 16 &nbsp; &nbsp; &nbsp;T: +49 17 75 07 53 44<br>
D-80339 München &nbsp; &nbsp; &nbsp; &nbsp; F: +49 89 1 22 21 97 02<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>