Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Newbie(Issue with HelloWorldSWT)
Newbie [message #1018923] Thu, 14 March 2013 17:43 Go to next message
Steve Sommers is currently offline Steve SommersFriend
Messages: 1
Registered: March 2013
Junior Member
I'm brand new to Java and Eclipse. I just tried to follow the tutorial to create the HelloWorldSWT app and when I attempt to run it, I get the following error:

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

at org.eclipse.swt.internal.Library.loadLibrary(
at org.eclipse.swt.internal.Library.loadLibrary(
at org.eclipse.swt.internal.C.<clinit>(
at org.eclipse.swt.widgets.Display.<clinit>(
at HelloWorldSWT.main(

Any help would be greatly appreciated.
Re: Newbie [message #1021321 is a reply to message #1018923] Tue, 19 March 2013 21:32 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 344
Registered: July 2009
Senior Member

Hi Steve,

Welcome to Eclipse. We have an excellent "newcomer" forum for people who get started with Eclipse. They will help you address this problem.

Best regards,

Re: Newbie [message #1021385 is a reply to message #1018923] Wed, 20 March 2013 01:00 Go to previous messageGo to next message
Jonathan Yee is currently offline Jonathan YeeFriend
Messages: 1
Registered: March 2013
Junior Member
Hi Steve,

In the Package Explorer, copy swt-win32-4236.dll in org.eclipse.swt... to C:\Users\Steve\.swt\lib\win32\x86_64. Also copy swt-awt-win32-4236.dll.

Re: Newbie [message #1067546 is a reply to message #1021385] Tue, 09 July 2013 09:46 Go to previous messageGo to next message
Nikola .NET is currently offline Nikola .NETFriend
Messages: 1
Registered: July 2013
Junior Member
Thanks Jonathan that works. Had the same problem as Steve but with swt-win32-4332
Re: Newbie [message #1079173 is a reply to message #1021385] Sun, 04 August 2013 05:48 Go to previous message
Ken Caron is currently offline Ken CaronFriend
Messages: 1
Registered: August 2013
Junior Member
I (also new to eclipse and Java) had the same problem, but could not figure out how to do the copy with the package explorer. (I don't see swt-win32-4332 in the Package Explorer.) I went to the eclipse install directory (in my case c:/Program Files/eclipse) and used windows explorer to find the dll and copy it.

I'd be interested in how to do this in the Package Explorer.

Previous Topic:convert an open source from c to java
Next Topic:How To Create proxy service xsd and wsdl based on business service xsd and wsdl
Goto Forum:

Current Time: Tue Dec 01 04:11:43 GMT 2015

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

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