Hi Yorick, Glad you got it to work! libswt3.4-gtk-jni is a dependency of libswt3.4-gtk-java, so that would get understandably upset without it. We don't specify that you must have ibswt3.4-gtk-jni as it is (usually) installed when you install the specified libswt3.4-gtk-java. I can explicitly add it to the dependency list of the next version to make sure we don't have this problem again.
Cheers, Joseph 2009/3/17 Yorick Moko <[email protected]>: > it seems my phone is java enabled...i get: > r...@om-gta02 ~ $ jamvm -cp go.jar org.test.go > Hello class: java.lang.Class > > I installed the new version of gvsig and now i get: > > r...@om-gta02 ~ $ DISPLAY=:0 gvsig > Log file: /usr/share/gv-om/log/1237295403472.gvsig-mobile.log.txt > java.lang.UnsatisfiedLinkError: no swt-gtk-3428 or swt-gtk in > swt.library.path, java.library.path or the jar file > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233) > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151) > at org.eclipse.swt.internal.C.<clinit>(C.java:21) > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) > at org.eclipse.swt.widgets.Display.<clinit>(Display.java:128) > at > es.prodevelop.gvsig.mobile.app.GvsigMobileApp.execute(GvsigMobileApp.java:100) > at es.prodevelop.gvsig.mobile.app.Launcher.main(Launcher.java:129) > > so i installed libswt3.4-gtk-jni > and now it works > it didn't work without that file > > y > > > > On Mon, Mar 16, 2009 at 8:48 PM, Juan Lucas Dominguez Rubio > <[email protected]> wrote: >> Hello Yorick. I understand then that your phone is not Java-enabled right >> now? >> >> Can you copy the attached 'go.jar' to your phone and type from the same >> folder: >> >> jamvm -cp ./go.jar org.test.go >> >> This what I get: >> >> r...@om-gta02:~# jamvm -cp ./go.jar org.test.go >> Hello class: java.lang.Class >> r...@om-gta02:~# >> >> >> >> What do you get? >> >> >> >> Regards, >> >> >> >> Juan Lucas Domínguez Rubio >> --- >> Prodevelop SL, Valencia (España) >> 0° 22' 49.62" W, 39° 28' 25.45" N >> Tlf.: 96.351.06.12 -- Fax: 96.351.09.68 >> http://www.prodevelop.es >> --- >> >> >> >> -----Original Message----- >> From: [email protected] on behalf of Yorick Moko >> Sent: Mon 16/03/2009 18:26 >> To: List for Openmoko community discussion >> Subject: Re: gvSIG Mobile on Openmoko >> >> thanks for your help, but i get: >> >> r...@om-gta02 ~ $ opkg install cacao -force-depends >> Installing cacao (0.99.3-r5.1) to root... >> Downloading >> http://jalimo.evolvis.org/repository/openmoko/armv4t/cacao_0.99.3-r5.1_armv4t.ipk >> Installing classpath (0.97.2-r8.1) to root... >> Downloading >> http://jalimo.evolvis.org/repository/openmoko/armv4t/classpath_0.97.2-r8.1_armv4t.ipk >> Installing classpath-common (0.97.2-r8.1) to root... >> Downloading >> http://jalimo.evolvis.org/repository/openmoko/armv4t/classpath-common_0.97.2-r8.1_armv4t.ipk >> Configuring cacao >> update-alternatives: Linking //usr/bin/java to /usr/bin/cacao >> Configuring classpath >> Configuring classpath-common >> Collected errors: >> * Warning: Cannot satisfy the following dependencies for cacao: >> * libgcc-s1 (>= 4.1.2) * libgcc-s1 (>= 4.1.2) * >> r...@om-gta02 ~ $ cacao -Xmx40M -cp >> /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar >> es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om /media/car >> Absurd stack bottom value >> Aborted >> >> btw: >> r...@om-gta02 ~ $ opkg list_installed |grep libgcc >> libgcc1 - 4.1.2-r19 - >> >> >> On Mon, Mar 16, 2009 at 5:54 PM, Juan Lucas Dominguez Rubio >> <[email protected]> wrote: >>> Hello, Yorick, >>> >>> You can also try cacao: >>> >>> opkg install cacao >>> >>> then: >>> >>> cacao -Xmx40M -cp /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar >>> es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om /media/card >>> >>> Regsrd, >>> Juan Lucas >>> >>> >>> ________________________________ >>> De: [email protected] en nombre de Yorick Moko >>> Enviado el: lun 16/03/2009 17:45 >>> Para: List for Openmoko community discussion >>> Asunto: Re: gvSIG Mobile on Openmoko >>> >>> still nobody getting (on shr-testing) the following error? >>> r...@om-gta02 /etc/init.d $ DISPLAY=:0 gvsig >>> Stopping freesmartphone.org gpsd compatibility daemon: stopped process >>> in pidfile '/var/run/fso-gpsd.pid' (pid 1442) >>> (done) >>> Starting freesmartphone.org gpsd compatibility daemon: (ok) >>> Exception occurred while VM initialising. >>> java/lang/NoClassDefFoundError: java/lang/Class >>> >>> using the terminal command I found in these e-mails i also get the same >>> error: >>> r...@om-gta02 ~ $ jamvm -Xmx40M -cp >>> /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar >>> es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om >>> /media/card >>> Exception occurred while VM initialising. >>> java/lang/NoClassDefFoundError: java/lang/Class >>> >>> y >>> >>> >>> On Mon, Mar 16, 2009 at 5:42 PM, Juan Lucas Dominguez Rubio >>> <[email protected]> wrote: >>>> Yes, sorry, I read about that only yesterday. I think the first line in >>>> the >>>> gvsig.sh (restarting the Gpsd) is probably unnecessary in all cases. >>>> >>>> Regards, >>>> Juan Lucas >>>> ________________________________ >>>> De: [email protected] en nombre de kimaidou >>>> Enviado el: lun 16/03/2009 17:32 >>>> Para: List for Openmoko community discussion >>>> Asunto: Re: gvSIG Mobile on Openmoko >>>> >>>> Normallu on last SHR testing, the gpsd is automatically started for every >>>> application using it. It is so with tangogps for example. >>>> >>>> 2009/3/16 Joseph Reeves <[email protected]> >>>>> >>>>> Great news :) >>>>> >>>>> SHR users just have to remember to start gpsd if you want to see where >>>>> you are - that's what /usr/bin/gvsig does on OM2008.x distributions, >>>>> but that doesn't seem to be working for you SHR people :( >>>>> >>>>> Cheers, Joseph >>>>> >>>>> >>>>> >>>>> 2009/3/16 kimaidou <[email protected]>: >>>>> > Hi all >>>>> > >>>>> > Thanks to the command line (one line) Francesco da Virgilo gaves in >>>>> > his >>>>> > email : >>>>> > r...@om-gta02 ~ $ jamvm -Xmx40M -cp >>>>> > /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar >>>>> > es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om >>>>> > /media/card >>>>> > >>>>> > I am able to run it on SHR too. This is a great step for mobile GIS >>>>> > solutions ! Thanks to the developpers ! >>>>> > >>>>> > Kimaidou >>>>> > >>>>> > _______________________________________________ >>>>> > Openmoko community mailing list >>>>> > [email protected] >>>>> > http://lists.openmoko.org/mailman/listinfo/community >>>>> > >>>>> > >>>>> >>>>> _______________________________________________ >>>>> Openmoko community mailing list >>>>> [email protected] >>>>> http://lists.openmoko.org/mailman/listinfo/community >>>> >>>> >>>> _______________________________________________ >>>> Openmoko community mailing list >>>> [email protected] >>>> http://lists.openmoko.org/mailman/listinfo/community >>>> >>>> >>> >>> _______________________________________________ >>> Openmoko community mailing list >>> [email protected] >>> http://lists.openmoko.org/mailman/listinfo/community >>> >>> _______________________________________________ >>> Openmoko community mailing list >>> [email protected] >>> http://lists.openmoko.org/mailman/listinfo/community >>> >>> >> >> _______________________________________________ >> Openmoko community mailing list >> [email protected] >> http://lists.openmoko.org/mailman/listinfo/community >> >> >> _______________________________________________ >> Openmoko community mailing list >> [email protected] >> http://lists.openmoko.org/mailman/listinfo/community >> >> > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

