<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
&nbsp;<br>
Hi Juan Lucas Dominiguez Rubio,<br>
<br>
did you install the package classpath-awt and add it to the<br>
classpath of the application? I think this is needed. And why do you<br>
use the Getting started with Java on Maemo instead of [1]?<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://wiki.evolvis.org/jalimo/index.php/OpenMoko">https://wiki.evolvis.org/jalimo/index.php/OpenMoko</a><br>
<br>
Greetings Bastian<br>
<br>
Am 28.12.2009 13:05, schrieb Juan Lucas Dominguez Rubio:<br>
<span style="white-space: pre;">&gt; Re: [jalimo-info] Freerunner, Qt
Extended Improved, libswt issue <br>
&gt; Hello, Sebastian. yes, I tried -among other things- to install<br>
&gt; explicitly the jni package with no success.<br>
&gt; <br>
&gt; In one of the tests, I got an "unsatisfied link error" even
though <br>
&gt; the .so files needed were actually there. As if those .so files<br>
&gt; were useless.<br>
&gt; <br>
&gt; In another test, one of the .so files was deleted (?) when trying<br>
&gt; to execute the SWT-based application (even though I removed all<br>
&gt; the writing permission. Amazing: there's a force stronger than<br>
&gt; linux permissions)<br>
&gt; <br>
&gt; In the last tests, I got an error message that said something
like <br>
&gt; "no more handles".<br>
&gt; <br>
&gt; All this worked fine on OM 200X and on SHR<br>
&gt; <br>
&gt; I thiought it would be too complicated to explain all those<br>
&gt; details, so I prefered to re-shape my question:<br>
&gt; <br>
&gt; Anybody got the SWT Sample application shown here [1] to work on
<br>
&gt; Freerunner + any of the Qt* distributions ('Qt Extended', 'Qt <br>
&gt; Extended Improved' or 'QtMoko')? (FYI: QtMoko seems to be a
Debian <br>
&gt; distribution plus a Qt GUI)<br>
&gt; <br>
&gt; [1] <br>
&gt;
<a class="moz-txt-link-freetext" href="https://wiki.evolvis.org/jalimo/index.php/Getting_Started_With_Java_On_Maemo">https://wiki.evolvis.org/jalimo/index.php/Getting_Started_With_Java_On_Maemo</a><br>
&gt;<br>
&gt;&nbsp; Thanks, Juan Lucas<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt;
----------------------------------------------------------------------<br>
&gt;<br>
&gt; </span><br>
*De:* Sebastian Mancke [<a class="moz-txt-link-freetext" href="mailto:s.mancke@tarent.de">mailto:s.mancke@tarent.de</a>]<br>
<span style="white-space: pre;">&gt; *Enviado el:* lun 28/12/2009
9:32 *Para:*<br>
&gt; <a class="moz-txt-link-abbreviated" href="mailto:jalimo-info@lists.evolvis.org">jalimo-info@lists.evolvis.org</a> *CC:* Juan Lucas Dominguez Rubio <br>
&gt; *Asunto:* Re: [jalimo-info] Freerunner, Qt Extended Improved,<br>
&gt; libswt issue<br>
&gt; <br>
&gt; Hi Juan Lucas,<br>
&gt; <br>
&gt; <br>
&gt; Am Samstag, 26. Dezember 2009 02:24:40 schrieb Juan Lucas<br>
&gt; Dominguez Rubio:<br>
&gt;&gt; Hello, list<br>
&gt;&gt; <br>
&gt;&gt; I have installed 'Qt Extended Improved' in my Freerunner,
then:<br>
&gt; I do not know the 'Qt Extended ..' Distro. Are the GTK libraries
<br>
&gt; available there? (SWT needs them).<br>
&gt; <br>
&gt;&gt; <br>
&gt;&gt; opkg install libswt3.4-gtk-java jamvm gpsd classpath-gtk<br>
&gt; classpath-common<br>
&gt;&gt; classpath<br>
&gt; <br>
&gt; You should have the package libswt3.4-gtk-jni installed. It<br>
&gt; contains the native libs for SWT and should normally come as<br>
&gt; dependency of libswt3.4-gtk- java.<br>
&gt; <br>
&gt; Regards, Sebastian<br>
&gt; <br>
&gt;&gt; <br>
&gt;&gt; and I also added this repository in my conf files:<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;
<a class="moz-txt-link-freetext" href="http://security.debian.org/debian-security/dists/stable/updates/main/binary">http://security.debian.org/debian-security/dists/stable/updates/main/binary</a><br>
&gt;<br>
&gt;&nbsp; -arm<br>
&gt;&gt; <br>
&gt;&gt; because one of the packages was asking for openjdk-6-jre and<br>
&gt; that's where I<br>
&gt;&gt; found it.<br>
&gt;&gt; <br>
&gt;&gt; But now my app is not running, it says:<br>
&gt;&gt; <br>
&gt;&gt; Exception in thread "main" java.lang.UnsatisfiedLinkError: no<br>
&gt; swt-gtk-3448<br>
&gt;&gt; or swt-gtk in swt.library.path, java.library.path or the jar
file<br>
&gt;&gt; at
org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)<br>
&gt;&gt; at
org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)<br>
&gt;&gt; at org.eclipse.swt.internal.C.&lt;clinit&gt;(C.java:21) at<br>
&gt;&gt;
org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) <br>
&gt;&gt; at<br>
&gt;&gt;
org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) <br>
&gt;&gt; at
org.eclipse.swt.widgets.Display.&lt;clinit&gt;(Display.java:130) at<br>
&gt;&gt;
es.prodevelop.gvsig.mobile.app.Launcher.main(Launcher.java:131)<br>
&gt;&gt; <br>
&gt;&gt; And indeed I dont have any folder /usr/lib/jni or any file<br>
&gt; *swt*.so in my<br>
&gt;&gt; system.<br>
&gt;&gt; <br>
&gt;&gt; This worked fine in OM 2009 and previous. Any ideas?<br>
&gt;&gt; <br>
&gt;&gt; Regards, Juan Lucas<br>
&gt;&gt; <br>
&gt; <br>
&gt; -- tarent Gesellschaft f&uuml;r Softwareentwicklung und IT-Beratung
mbH <br>
&gt; Gesch&auml;ftsf&uuml;hrer: Boris Esser, Elmar Geese HRB AG Bonn 5168 -<br>
&gt; Ust-ID: DE122264941 <a class="moz-txt-link-freetext" href="http://www.tarent.com/">http://www.tarent.com/</a><br>
&gt; <br>
&gt; fon +49 228 52675-17 mobil +49 171 7673249<br>
&gt; <br>
&gt; Heilsbachstr. 24, 53123 Bonn,&nbsp;&nbsp; fon +49 228 52675-0,&nbsp;&nbsp; fax +49
228 <br>
&gt; 52675-25 Weigandufer 45,&nbsp;&nbsp; 12059 Berlin, fon +49 30 5682943-30,
fax<br>
&gt; +49 228 52675-25 Sch&uuml;tzenstr. 18,&nbsp; 10117 Berlin, fon +49 30<br>
&gt; 27594853,&nbsp;&nbsp; fax +49 30 78709617<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________ Openmoko
community<br>
&gt; mailing list <a class="moz-txt-link-abbreviated" href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a> <br>
&gt; <a class="moz-txt-link-freetext" href="http://lists.openmoko.org/mailman/listinfo/community">http://lists.openmoko.org/mailman/listinfo/community</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v1.4.7 (MingW32)
<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a>
<br>
&nbsp;<br>
iD8DBQFLOMrnlYiDScJJ+7QRAi4kAKCxs9D8iL4WJHXqTsEOBnv5wDieZgCeLl7+
<br>
ebl/RHieqO5oWZh5BV8q1Tw=
<br>
=+Rqb
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>