Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » All I want:: HelloWorldSWT!!(Eclipse is Beautiful... but not easy leaning curve.)
All I want:: HelloWorldSWT!! [message #807617] Sun, 26 February 2012 19:40 Go to next message
Mark Cooper is currently offline Mark CooperFriend
Messages: 1
Registered: February 2012
Junior Member
I am very impressed with Eclipse. Beautiful work! First tutorial perfect! Second tutorial (HelloWorldSWT), not so good. Help! When I began, I had one goal: study OO design using java.util, from a 2004 book by a Mr. de Lillo. But now, I have TWO goals: I also want to see the HelloWorldSWT window before I die.

Have tried 39,219,312 times. OK, exaggerated. Here are errors:

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\El Pendecho\.swt\lib\win32\x86_64\swt-win32-3740.dll
Can't load library: C:\Users\El Pendecho\.swt\lib\win32\x86_64\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.Display.<clinit>(Display.java:138)
at HelloWorldSWT.main(HelloWorldSWT.java:12)

Obviously, we are missing some libraries. Have tried to fix. At first, did not even HAVE "plug-in development" in Import menu. Sigh. Suspect I had wrong version of Eclipse. Why would a version have a tutorial for a missing feature? Dunno. Got SDK version. Now have "plug-in development" in Import menu. Great! Finish Tutorial #2. Get errors. Hmm.. Seems to be looking for 32-bit libraries. Thought I wanted 64 bit 'cause I'm running 64 bit Win 7. I downloaded 64 bit version. Why would it compile for 32? Try to add libraries to build path, etc. can't find 32 bit.. weep openly. Guess I will learn a lot. Thank You for help; I will be quiet now.

<<<edit>>> The answer is here www.eclipse.org/forums/index.php/t/261606/ !! The solution from Craig Williams worked perfectly for me! TYTYTY!

[Updated on: Sun, 26 February 2012 19:59]

Report message to a moderator

Re: All I want:: HelloWorldSWT!! [message #870092 is a reply to message #807617] Sun, 06 May 2012 11:02 Go to previous messageGo to next message
Tristan Currie is currently offline Tristan CurrieFriend
Messages: 1
Registered: May 2012
Junior Member
same thing happened to me, what's the deal?
Re: All I want:: HelloWorldSWT!! [message #870237 is a reply to message #870092] Mon, 07 May 2012 12:02 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/06/2012 05:03 AM, Tristan Currie wrote:
> same thing happened to me, what's the deal?

There is, I believe, a special forum for Eclipse SWT questions. You
might get more and better help there.
Previous Topic:Eclipse Skin
Next Topic:Trouble with HATS Build
Goto Forum:
  


Current Time: Tue Apr 16 07:57:53 GMT 2024

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

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

Back to the top