Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » java.lang.UnsatisfiedLinkError: Could not load SWT library(new jdk, new eclipse, new problem)
icon5.gif  java.lang.UnsatisfiedLinkError: Could not load SWT library [message #834289] Sun, 01 April 2012 18:40
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 364
Registered: July 2009
Senior Member
installed new jdk 1.7
downloaded and extracted eclipse 3.7 (same issue on 3.6 & 4.1!)
extracted and installed all required stuff i need (as usual)
all fine!
then tried to start up a simple swt application.

now it bothers me about unsatisfiedlinkerror...
Quote:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-win32-3740 in java.library.path
no swt-win32 in java.library.path
Can't load library: C:\Users\BlackPearl\swt-win32-3740.dll
Can't load library: C:\Users\BlackPearl\swt-win32.dll

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:103)
at lumo.GefExampleApplication.main(GefExampleApplication.java:11)


but i added it to the build path.

so what do i have to add so its working properly???

i'm developing under eclipse now for like 3 years but never faced this problem...
usually i simply add it to needed libraries and woops it works...

[Updated on: Sun, 01 April 2012 18:44]

Report message to a moderator

Previous Topic:How to restrict user from going to Next Page if all the fields are not populated in Eclipse SWT
Next Topic:How to add toolbar to a CTabItem
Goto Forum:
  


Current Time: Thu Nov 27 06:58:00 GMT 2014

Powered by FUDForum. Page generated in 0.03421 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software