Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Newbie(Issue with HelloWorldSWT)
Newbie [message #1018923] Thu, 14 March 2013 13:43 Go to next message
Steve Sommers is currently offline Steve Sommers
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(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
Wim Jongman is currently offline Wim Jongman
Messages: 221
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.

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 message
Jonathan Yee is currently offline Jonathan Yee
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.

Rgds,
Jonathan
Previous Topic:No schema found "org.eclipse.e4.workbench.model"
Next Topic:Not able to create new e4 application project
Goto Forum:
  


Current Time: Sun May 19 21:05:33 EDT 2013

Powered by FUDForum. Page generated in 0.01781 seconds