Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] zlinux - java.lang.UnsatisfiedLinkError: no swt-gtk-3555 or swt-gtk


Does z/Linux come with a GTK2 library? Find the libswt-pi-gtk2-3555.so library, do an ldd on it to see if it's missing any dependencies.

- B


From: Peng SH Zhang <pengzsh@xxxxxxxxxx>
To: platform-swt-dev@xxxxxxxxxxx
Date: 10/14/2009 06:38 AM
Subject: [platform-swt-dev] zlinux - java.lang.UnsatisfiedLinkError: no        swt-gtk-3555 or swt-gtk
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx





Hello,

I developed a tool based on SWT. The GUI can be open in windows, normal linux and aix. But it failed to open in the zlinux. When i run my program, it said: Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3555 or swt-gtk in swt.library.path, java.library.path or the jar file.

Bellow is my environment information:
# uname -a
Linux ptcs9p00 2.6.16.60-0.21-default #1 SMP Tue May 6 12:41:02 UTC 2008 s390x s390x s390x GNU/Linux

# ./java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxz31dev-20090707 (SR10 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux s390-31 j9vmxz3123-20090707 (JIT enabled)
J9VM - 20090706_38445_bHdSMr
JIT - 20090623_1334_r8
GC - 200906_09)
JCL - 20090705

I tried all the jars downloaded from
http://www.eclipse.org/swt/. What i tried are:
Linux (x86/GTK 2) swt-3.5.1-gtk-linux-x86
Linux (x86_64/GTK 2) swt-3.5.1-gtk-linux-x86_64
Linux (PPC/GTK 2) swt-3.5.1-gtk-linux-ppc
Linux (x86/Motif) swt-3.5.1-motif-linux-x86

Could anybody give me suggestions?
Thanks very much!
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top