View unanswered posts | View active topics It is currently Wed Dec 19, 2018 4:04 pm



Reply to topic  [ 4 posts ] 
 Cannot run GUI, SWT Error (libswt-pi-gtk-3139.so) 
Author Message

Joined: Fri Mar 09, 2012 10:18 am
Posts: 2
Post Cannot run GUI, SWT Error (libswt-pi-gtk-3139.so)
While trying to run an Application GUI, i get the following error:

FATAL 2012-03-09 12:15:47.352 ApplicationImpl - Not fetched exception occured - application terminates
java.lang.UnsatisfiedLinkError: /home/trim/test/lib/linux/libswt-pi-gtk-3139.so: /home/trim/test/lib/linux/libswt-pi-gtk-3139.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

I guess, this is because of the missing ARM-Support of the SWT-Package.
I tried several java- and SWT-mixtures already, but no success yet.

Currently, Java SE for Embedded v1.6.0.30 is installed on the machine

Does anybody have a clue?

Best regards,
Peter


Fri Mar 09, 2012 10:25 am
Profile

Joined: Thu Aug 11, 2011 10:04 pm
Posts: 46
Post Re: Cannot run GUI, SWT Error (libswt-pi-gtk-3139.so)
swt have support for ARM its simply that Eclipse have not pre-built a ARM version of the library for you.

Good news are that Ubuntu got a ARM compiled version in its archive built from the Eclipse sourcecode, you simply need to install the ARM compiled libswt-gtk-3-java and libswt-gtk-3-jni package.

apt-get install libswt-gtk-3-jni libswt-gtk-3-java

You will then find the libswt-pi-gtk installed in
/usr/lib/jni/libswt-pi-gtk-3555.so
and its complement jar in
/usr/share/java/swt.jar

Now make sure that your test swt application uses the system installed libswt by passing

-cp /usr/share/java/swt.jar -Djava.library.path=/usr/lib/jni/

to your swt java application.


Sun Mar 11, 2012 10:51 pm
Profile

Joined: Fri Mar 09, 2012 10:18 am
Posts: 2
Post Re: Cannot run GUI, SWT Error (libswt-pi-gtk-3139.so)
Thanks mate, that solved the problem.


Tue Mar 13, 2012 1:10 pm
Profile

Joined: Wed Feb 10, 2016 11:14 am
Posts: 1
Post Re: Cannot run GUI, SWT Error (libswt-pi-gtk-3139.so)
Good news are that Ubuntu got a ARM compiled version in its archive built from the Eclipse sourcecode, you simply need to install the ARM compiled libswt-gtk-3-java and libswt-gtk-3-jni package.

_________________
NOOR


Thu Feb 11, 2016 5:47 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.