[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Newbie question

Hi all,

Sorry me if'm off topic, but...

I'm trying to use swt in a litle tests. I've imported swt.jar to my project,
but when I trie to run I get the following messages:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no
swt-pi-gtk-3007 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:18)
        at org.eclipse.swt.widgets.Display.createDisplay(Display.java:482)
        at org.eclipse.swt.widgets.Display.create(Display.java:469)
        at org.eclipse.swt.graphics.Device.<init>(Device.java:111)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:303)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:299)
        at jcf.HelloSWT.main(HelloSWT.java:11)

I could not find the reason for the error browsing the docs.

Any help will be appreciated.

TIA

Nilo