[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-swt-dev] Unsatisfied link error
|
Try specifying
-Djava.library.path=$ECLIPSE/plugins/org.eclipse.swt.gtk_2.1.1/os/linux/x86
in your java command that starts your app...
BradO
> -----Original Message-----
> From: platform-swt-dev-admin@xxxxxxxxxxx
> [mailto:platform-swt-dev-admin@xxxxxxxxxxx]On Behalf Of Ben Srour
> Sent: Thursday, September 11, 2003 12:46 PM
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: [platform-swt-dev] Unsatisfied link error
>
>
> Hello,
>
> I am just trying to start development with SWT and I am having trouble
> running my project. I have included all of the swt related jars that I can
> find in $ECLIPSE/plugins/plugins/org.eclipse.swt.gtk_2.1.1/ws/gtk, I even
> included the shared object files from
> $ECLIPSE/plugins/org.eclipse.swt.gtk_2.1.1/os/linux/x86
> to no avail. I get an unsatisfied link error with the following message:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> swt-pi-gtk-2135 in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
> at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> at java.lang.System.loadLibrary(System.java:834)
> 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 org.upl.vgnet.ui.VGMain.main(VGMain.java:21)
>
> Any advice would be appreciated, thanks!
>
> Ben
>
>
>
> --
> Ben Srour University of Wisconsin-Madison
> srour@xxxxxxxxxxx Phone: 608 345 3826
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>