Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » another swt-win32.dll linker problem
another swt-win32.dll linker problem [message #1100018] Mon, 02 September 2013 14:39 Go to next message
Don Poletti is currently offline Don PolettiFriend
Messages: 1
Registered: September 2013
Junior Member
i know this comes up a lot and there are lots of responses to it already but
i've looked through them and i'm still stumped (old unix C++ programmer here)

I am getting the error in the first SWT tutorial

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-win32-4332 in java.library.path
no swt-win32 in java.library.path
Can't load library: C:\Users\Alyssa\.swt\lib\win32\x86_64\swt-win32-4332.dll
Can't load library: C:\Users\Alyssa\.swt\lib\win32\x86_64\swt-win32.dll

So either the path is wrong or the file is miising. What i have found so far.
The swt files are in .../eclipse/plug-in directory but they are har files i don't see any *.dll files. I've searched the disk and the file swt-win32.dll doesn't seem to exist on the disk anywhere.

I copy all the *swt* files from the plug in directory to the path above in the
error msg and no change. I didn't try yet to set the path variable to the
plug in directory but since the *.dll files are not there i don't see how that would help.

Where are the swt-win32.dll files?
Re: another swt-win32.dll linker problem [message #1100771 is a reply to message #1100018] Tue, 03 September 2013 15:11 Go to previous messageGo to next message
Denis Roy is currently offline Denis RoyFriend
Messages: 484
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

If you're on a 64-bit system, make sure you're using a 64-bit JRE and a 64-bit Eclipse.

Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Re: another swt-win32.dll linker problem [message #1106197 is a reply to message #1100018] Tue, 10 September 2013 20:39 Go to previous messageGo to next message
Steve Blass is currently offline Steve BlassFriend
Messages: 276
Registered: July 2009
Senior Member
> Where are the swt-win32.dll files?

You can extract them from the org.eclipse.swt.* jar file and copy them in to place.
Re: another swt-win32.dll linker problem [message #1107392 is a reply to message #1100771] Thu, 12 September 2013 10:29 Go to previous message
Stefan Holmes is currently offline Stefan HolmesFriend
Messages: 1
Registered: September 2013
Junior Member
I have the same issue.

I'm using a default Ubuntu 64bit install (fresh since a week or so ago). I have confirmed my Java version in the terminal...

java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)


... and I have installed Eclipse Kepler 64bit together with the x86_64 archive of SWT, which I've followed the instructions for regarding how to use it within my Eclipse project.

Is there some overriding reason why this is not a nice, straightforward process?

None of the guides or tutorials cover this eventuality.
Previous Topic:Putting my program to use
Next Topic:Product Developed using Eclipse Plugin Development
Goto Forum:
  


Current Time: Wed Apr 24 23:50:16 GMT 2024

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

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

Back to the top