Skip to main content



      Home
Home » Newcomers » Newcomers » Newbie(Issue with HelloWorldSWT)
Newbie [message #1018923] Thu, 14 March 2013 13:43 Go to next message
Eclipse UserFriend
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(Library.java:331)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:138)
at HelloWorldSWT.main(HelloWorldSWT.java:12)

Any help would be greatly appreciated.
Re: Newbie [message #1021321 is a reply to message #1018923] Tue, 19 March 2013 17:32 Go to previous messageGo to next message
Eclipse UserFriend
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.

http://www.eclipse.org/forums/index.php/i/2/

Best regards,

Wim
Re: Newbie [message #1021385 is a reply to message #1018923] Tue, 19 March 2013 21:00 Go to previous messageGo to next message
Eclipse UserFriend
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.

Rgds,
Jonathan
Re: Newbie [message #1067546 is a reply to message #1021385] Tue, 09 July 2013 05:46 Go to previous messageGo to next message
Eclipse UserFriend
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 01:48 Go to previous message
Eclipse UserFriend
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.

Thanks,
Ken
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: Sat Jul 12 03:41:04 EDT 2025

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

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

Back to the top