Now I'm getting:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3019 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:108)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
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:112)
at ARealTest.main(ARealTest.java:20)
The OS class is in the "swt-pi.jar" file located in the "plugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86/" directory.
In my 'OS' directory I have:
[pstav@pslinux eclipse]$ ll plugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86/
total 568
-rwxr-xr-x 1 pstav pstav 43319 Aug 28 18:31 libswt-atk-gtk-3019.so
-rwxr-xr-x 1 pstav pstav 10833 Aug 28 18:31 libswt-gnome-gtk-3019.so
-rwxr-xr-x 1 pstav pstav 190514 Aug 28 18:31 libswt-gtk-3019.so
-rwxr-xr-x 1 pstav pstav 57156 Aug 28 18:31 libswt-mozilla-gtk-3019.so
-rwxr-xr-x 1 pstav pstav 259833 Aug 28 18:31 libswt-pi-gtk-3019.so
In my 'WS' directory I have the jar files:
[pstav@pslinux eclipse]$ ll plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/
total 908
-rw-rw-r-- 1 pstav pstav 818215 Aug 28 18:31 swt.jar
-rw-rw-r-- 1 pstav pstav 58250 Aug 28 18:31 swt-mozilla.jar
-rw-rw-r-- 1 pstav pstav 37539 Aug 28 18:31 swt-pi.jar
I've put the jars in the build ( and by default run-time classpath in Eclipse ) and
I've also read everything I can find, and have tried putting both directories into my path. I think the PDF said this would happen if the SWT run-time couldn't find the DLLs. Well on Linux we're looking for the SO's, right? So I put them in the path.. still no joy.
I'm still stuck.
Thanks,
--paul