[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmoko-community
Subject:    Re: Need help to run java apps on openmoko
From:       "Warren Baird" <photogeekmtl () gmail ! com>
Date:       2008-10-31 15:56:42
Message-ID: b66a83e00810310856s2fa3f1bdnc233550820d7ca85 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Sounds to me like you only installed the java vm, not the classpath
component.   I followed the instructions at
https://wiki.evolvis.org/jalimo/index.php/OpenMoko and things worked
fine...   basically you need to do "opkg update && opkg install cacao
classpath" - or if you need awt/swing, change the last to 'classpath-awt'

good luck,

Warren

On Fri, Oct 31, 2008 at 5:59 AM, Girish Revadigar <girishrevadigar@gmail.co=
m
> wrote:

> Hi,
>
> I tried according to your guidelines and got the cacao and jamvm installe=
d
> onto my openmoko.(neo freerunner). I compiled a small HelloWorld program =
on
> my pc to generate HelloWorld.class file, which prints Hello World when ru=
n
> on my PC using:  java HelloWorld command. After that i copied the same
> HelloWorld.class file to my openmoko device (freerunner) and tried to run
> using the cacao, but it gives the following error:
>
> output when run with cacao:
> ---------------------------------------------------
> # cacao HelloWorld
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
>
> output when run with jamvm:
> ---------------------------------------------------
> # jamvm HelloWorld
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
>
>
> Also tried running the test.jar file from cacao, and jamvm, that also giv=
es
> the same result:
>
> output when tried to run jar file with cacao:
> ----------------------------------------------------------------
> # cacao -cp -jar test.jar
> LOG: [0x400211d0] exception thrown while vm is initializing:
> LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object
> LOG: [0x400211d0] Aborting ...
> Aborted
>
> output when tried to run jar file with jamvm:
> ------------------------------------------------------------------
> # jamvm -jar test.jar
> Exception occured while vm initialising.
> java/lang/NoClassDefFoundError: java/lang/Class
>
> What can be wrong in my settings? Please update me.
>
> Thank you
> Girish
>
>
> On Fri, Oct 24, 2008 at 6:44 PM, Joseph Reeves <iknowjoseph@gmail.com>wro=
te:
>
>> Hi Girish,
>>
>> I've been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG
>> mobile isn't freely available yet, but keep an eye on
>> planet.openmoko.org for an announcement in the (hopefully) near
>> future.
>>
>> Cheers,
>>
>> Joseph
>>
>>
>> [1] http://gvsigmobileonopenmoko.wordpress.com/
>> [2] https://wiki.evolvis.org/jalimo/index.php/Main_Page
>>
>>
>>
>>
>>
>>
>> 2008/10/24 Girish Revadigar <girishrevadigar@gmail.com>:
>> > Hi Max,
>> >
>> >  Thank you for your reply. From the information on this site, looks li=
ke
>> we
>> > need to do some external work to get java run on openmoko. Can you
>> please
>> > suggest some java packages available which can be installed in openmok=
o?
>> >
>> > Thank you
>> > Girish
>> >
>> >
>> > On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <giesbert@exactt.de>
>> wrote:
>> >>
>> >> have you checked http://wiki.openmoko.org/wiki/Java ?
>> >>
>> >> please update if necessary...
>> >>
>> >> Girish Revadigar schrieb:
>> >> > Hi,
>> >> >
>> >> > I am new to openmoko. I want to run one of my java based GUI
>> application
>> >> > on openmoko. But when I tried to check for the java support on the
>> newly
>> >> > brought model, I found there is no java utility pre installed (Any
>> JVM
>> >> > for running java apps). So can you guide me how can I set up my
>> openmoko
>> >> > to run java applications on it? Is there any extra package I need t=
o
>> >> > install? Please guide me, without finding it I can't proceed. Your
>> >> > valuable suggestion will be greatly helpful for me.
>> >> >
>> >> > Thank you
>> >> > Regards
>> >> > Girish
>> >> > +91 99867 64809
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> ------------------------------------------------------------------------
>> >> >
>> >> > _______________________________________________
>> >> > Openmoko community mailing list
>> >> > community@lists.openmoko.org
>> >> > http://lists.openmoko.org/mailman/listinfo/community
>> >>
>> >> --
>> >> exactt technology
>> >> Dipl. Inf. (FH) Max Giesbert
>> >>
>> >> Schie=DFst=E4ttstr. 16      T: +49 17 75 07 53 44
>> >> D-80339 M=FCnchen         F: +49 89 1 22 21 97 02
>> >>
>> >> _______________________________________________
>> >> Openmoko community mailing list
>> >> community@lists.openmoko.org
>> >> http://lists.openmoko.org/mailman/listinfo/community
>> >
>> >
>> > _______________________________________________
>> > Openmoko community mailing list
>> > community@lists.openmoko.org
>> > http://lists.openmoko.org/mailman/listinfo/community
>> >
>> >
>>
>> _______________________________________________
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
> _______________________________________________
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>

[Attachment #5 (text/html)]

Sounds to me like you only installed the java vm, not the classpath \
component.&nbsp;&nbsp; I followed the instructions at <a \
href="https://wiki.evolvis.org/jalimo/index.php/OpenMoko">https://wiki.evolvis.org/jalimo/index.php/OpenMoko</a> \
and things worked fine...&nbsp;&nbsp; basically you need to do &quot;opkg update \
&amp;&amp; opkg <span class="kw2">install</span> cacao classpath&quot; - or if you \
need awt/swing, change the last to &#39;classpath-awt&#39;<br> <br>good \
luck,<br><br>Warren<br><br><div class="gmail_quote">On Fri, Oct 31, 2008 at 5:59 AM, \
Girish Revadigar <span dir="ltr">&lt;<a \
href="mailto:girishrevadigar@gmail.com">girishrevadigar@gmail.com</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;">Hi,<br><br>I tried \
according to your guidelines and got the cacao and jamvm installed onto my \
openmoko.(neo freerunner). I compiled a small HelloWorld program on my pc to generate \
HelloWorld.class file, which prints Hello World when run on my PC using:&nbsp; java \
HelloWorld command. After that i copied the same HelloWorld.class file to my openmoko
device (freerunner) and tried to run using the cacao, but it gives the
following error:<br>
<br>output when run with cacao:<br>------------------------------<div \
class="gmail_quote">---------------------<br># cacao HelloWorld<br>LOG: [0x400211d0] \
exception thrown while vm is initializing:<br>LOG: [0x400211d0] \
java.lang.ClassNotFoundException: java.lang.object<br>


LOG: [0x400211d0] Aborting ...<br>Aborted<br><br>output when run with jamvm:<br>
---------------------------------------------------<br># jamvm HelloWorld<br>
Exception occured while vm initialising.<br>
java/lang/NoClassDefFoundError: java/lang/Class<br>
<br><br>Also tried running the test.jar file from cacao, and jamvm, that also gives \
the same result:<br><br>output when tried to run jar file with \
cacao:<br>----------------------------------------------------------------<br>


# cacao -cp -jar test.jar<br>
LOG: [0x400211d0] exception thrown while vm is initializing:<br>
LOG: [0x400211d0] java.lang.ClassNotFoundException: java.lang.object<br>
LOG: [0x400211d0] Aborting ...<br>
Aborted<br>
<br>output when tried to run jar file with \
jamvm:<br>------------------------------------------------------------------<br># \
jamvm -jar test.jar <br>Exception occured while vm \
initialising.<br>java/lang/NoClassDefFoundError: java/lang/Class<br>


<br>What can be wrong in my settings? Please update me.<br><br>Thank you<br><font \
color="#888888"><font color="#888888">Girish</font></font></div><div><div></div><div \
class="Wj3C7c"><br><br><div class="gmail_quote">On Fri, Oct 24, 2008 at 6:44 PM, \
Joseph Reeves <span dir="ltr">&lt;<a href="mailto:iknowjoseph@gmail.com" \
target="_blank">iknowjoseph@gmail.com</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;">Hi Girish,<br> <br>
I&#39;ve been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG<br>
mobile isn&#39;t freely available yet, but keep an eye on<br>
<a href="http://planet.openmoko.org" target="_blank">planet.openmoko.org</a> for an \
announcement in the (hopefully) near<br> future.<br>
<br>
Cheers,<br>
<br>
Joseph<br>
<br>
<br>
[1] <a href="http://gvsigmobileonopenmoko.wordpress.com/" \
target="_blank">http://gvsigmobileonopenmoko.wordpress.com/</a><br> [2] <a \
href="https://wiki.evolvis.org/jalimo/index.php/Main_Page" \
target="_blank">https://wiki.evolvis.org/jalimo/index.php/Main_Page</a><br> <br>
<br>
<br>
<br>
<br>
<br>
2008/10/24 Girish Revadigar &lt;<a href="mailto:girishrevadigar@gmail.com" \
target="_blank">girishrevadigar@gmail.com</a>&gt;:<br> <div><div></div><div>&gt; Hi \
Max,<br> &gt;<br>
&gt; &nbsp;Thank you for your reply. From the information on this site, looks like \
we<br> &gt; need to do some external work to get java run on openmoko. Can you \
please<br> &gt; suggest some java packages available which can be installed in \
openmoko?<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" target="_blank">giesbert@exactt.de</a>&gt; \
wrote:<br> &gt;&gt;<br>
&gt;&gt; have you checked <a href="http://wiki.openmoko.org/wiki/Java" \
target="_blank">http://wiki.openmoko.org/wiki/Java</a> ?<br> &gt;&gt;<br>
&gt;&gt; please update if necessary...<br>
&gt;&gt;<br>
&gt;&gt; Girish Revadigar schrieb:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am new to openmoko. I want to run one of my java based GUI \
application<br> &gt;&gt; &gt; on openmoko. But when I tried to check for the java \
support on the newly<br> &gt;&gt; &gt; brought model, I found there is no java \
utility pre installed (Any JVM<br> &gt;&gt; &gt; for running java apps). So can you \
guide me how can I set up my openmoko<br> &gt;&gt; &gt; to run java applications on \
it? Is there any extra package I need to<br> &gt;&gt; &gt; install? Please guide me, \
without finding it I can&#39;t proceed. Your<br> &gt;&gt; &gt; valuable suggestion \
will be greatly helpful for me.<br> &gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you<br>
&gt;&gt; &gt; Regards<br>
&gt;&gt; &gt; Girish<br>
&gt;&gt; &gt; +91 99867 64809<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ------------------------------------------------------------------------<br>
 &gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Openmoko community mailing list<br>
&gt;&gt; &gt; <a href="mailto:community@lists.openmoko.org" \
target="_blank">community@lists.openmoko.org</a><br> &gt;&gt; &gt; <a \
href="http://lists.openmoko.org/mailman/listinfo/community" \
target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br> \
&gt;&gt;<br> &gt;&gt; --<br>
&gt;&gt; exactt technology<br>
&gt;&gt; Dipl. Inf. (FH) Max Giesbert<br>
&gt;&gt;<br>
&gt;&gt; Schießstättstr. 16 &nbsp; &nbsp; &nbsp;T: +49 17 75 07 53 44<br>
&gt;&gt; D-80339 München &nbsp; &nbsp; &nbsp; &nbsp; F: +49 89 1 22 21 97 02<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Openmoko community mailing list<br>
&gt;&gt; <a href="mailto:community@lists.openmoko.org" \
target="_blank">community@lists.openmoko.org</a><br> &gt;&gt; <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; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org" \
target="_blank">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> &gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org" \
target="_blank">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> \
</div></div><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> \
<br></blockquote></div><br>



_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic