------=_Part_37359_3965559.1225468602876
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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
d
on
n
es
te:
ke
o?
o
------=_Part_37359_3965559.1225468602876
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Sounds to me like you only installed the java vm, not the classpath compone=
nt. I followed the instructions at <a href=3D"https://wiki.evol=
vis.org/jalimo/index.php/OpenMoko">https://wiki.evolvis.org/jalimo/index.ph=
p/OpenMoko</a> and things worked fine... basically you need to =
do "opkg update && opkg <span class=3D"kw2">install</span> cac=
ao classpath" - or if you need awt/swing, change the last to 'clas=
spath-awt'<br>
<br>good luck,<br><br>Warren<br><br><div class=3D"gmail_quote">On Fri, Oct =
31, 2008 at 5:59 AM, Girish Revadigar <span dir=3D"ltr"><<a href=3D"mail=
to:girishrevadigar@gmail.com">girishrevadigar@gmail.com</a>></span> wrot=
e:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I trie=
d 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: 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=
=3D"gmail_quote">---------------------<br># cacao HelloWorld<br>LOG: [0x400=
211d0] 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<b=
r>
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 al=
so gives the same result:<br><br>output when tried to run jar file with cac=
ao:<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>E=
xception 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=
<div><div></div><div class=3D"Wj3C7c"><br><br><div class=3D"gmail_quote">On=
Fri, Oct 24, 2008 at 6:44 PM, Joseph Reeves <span dir=3D"ltr"><<a href=
=3D"mailto:iknowjoseph@gmail.com" target=3D"_blank">iknowjoseph@gmail.com</=
a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Girish,<br>
<br>
I've been running gvSIG mobile [1], a java app, on Jalimo [2]. gvSIG<br=
mobile isn't freely available yet, but keep an eye on<br>
<a href=3D"http://planet.openmoko.org" target=3D"_blank">planet.openmoko.or=
g</a> for an announcement in the (hopefully) near<br>
future.<br>
<br>
Cheers,<br>
<br>
Joseph<br>
<br>
<br>
[1] <a href=3D"http://gvsigmobileonopenmoko.wordpress.com/" target=3D"_blan=
k">http://gvsigmobileonopenmoko.wordpress.com/</a><br>
[2] <a href=3D"https://wiki.evolvis.org/jalimo/index.php/Main_Page" target=
=3D"_blank">https://wiki.evolvis.org/jalimo/index.php/Main_Page</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
2008/10/24 Girish Revadigar <<a href=3D"mailto:girishrevadigar@gmail.com=
" target=3D"_blank">girishrevadigar@gmail.com</a>>:<br>
<div><div></div><div>> Hi Max,<br>
><br>
> Thank you for your reply. From the information on this site, loo=
ks like we<br>
> need to do some external work to get java run on openmoko. Can you ple=
ase<br>
> suggest some java packages available which can be installed in openmok=
o?<br>
><br>
> Thank you<br>
> Girish<br>
><br>
><br>
> On Fri, Oct 24, 2008 at 5:35 PM, Max Giesbert <<a href=3D"mailto:gi=
esbert@exactt.de" target=3D"_blank">giesbert@exactt.de</a>> wrote:<br>
>><br>
>> have you checked <a href=3D"http://wiki.openmoko.org/wiki/Java" ta=
rget=3D"_blank">http://wiki.openmoko.org/wiki/Java</a> ?<br>
>><br>
>> please update if necessary...<br>
>><br>
>> Girish Revadigar schrieb:<br>
>> > Hi,<br>
>> ><br>
>> > I am new to openmoko. I want to run one of my java based GUI =
application<br>
>> > on openmoko. But when I tried to check for the java support o=
n the newly<br>
>> > brought model, I found there is no java utility pre installed=
(Any JVM<br>
>> > for running java apps). So can you guide me how can I set up =
my openmoko<br>
>> > to run java applications on it? Is there any extra package I =
need to<br>
>> > install? Please guide me, without finding it I can't proc=
eed. Your<br>
>> > valuable suggestion will be greatly helpful for me.<br>
>> ><br>
>> > Thank you<br>
>> > Regards<br>
>> > Girish<br>
>> > +91 99867 64809<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > -------------------------------------------------------------=
-----------<br>
>> ><br>
>> > _______________________________________________<br>
>> > Openmoko community mailing list<br>
>> > <a href=3D"mailto:community@lists.openmoko.org" target=3D"_bl=
ank">community@lists.openmoko.org</a><br>
>> > <a href=3D"http://lists.openmoko.org/mailman/listinfo/communi=
ty" target=3D"_blank">http://lists.openmoko.org/mailman/listinfo/community<=
/a><br>
>><br>
>> --<br>
>> exactt technology<br>
>> Dipl. Inf. (FH) Max Giesbert<br>
>><br>
>> Schie=DFst=E4ttstr. 16 T: +49 17 75 07 53 44<b=
r>
>> D-80339 M=FCnchen F: +49 89 1 22 21 97=
02<br>
>><br>
>> _______________________________________________<br>
>> Openmoko community mailing list<br>
>> <a href=3D"mailto:community@lists.openmoko.org" target=3D"_blank">=
community@lists.openmoko.org</a><br>
>> <a href=3D"http://lists.openmoko.org/mailman/listinfo/community" t=
arget=3D"_blank">http://lists.openmoko.org/mailman/listinfo/community</a><b=
r>
><br>
><br>
> _______________________________________________<br>
> Openmoko community mailing list<br>
> <a href=3D"mailto:community@lists.openmoko.org" target=3D"_blank">comm=
unity@lists.openmoko.org</a><br>
> <a href=3D"http://lists.openmoko.org/mailman/listinfo/community" targe=
t=3D"_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href=3D"mailto:community@lists.openmoko.org" target=3D"_blank">community=
@lists.openmoko.org</a><br>
<a href=3D"http://lists.openmoko.org/mailman/listinfo/community" target=3D"=
_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=3D"mailto:community@lists.openmoko.org">community@lists.openmoko.or=
g</a><br>
<a href=3D"http://lists.openmoko.org/mailman/listinfo/community" target=3D"=
_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br>
------=_Part_37359_3965559.1225468602876--