Error running my first SWT app

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Error running my first SWT app

Postby allanmarks » Wed Jul 30, 2003 12:04 pm

Received the following error when I tried to run my first SWT app:

java.lang.UnsatisfiedLinkError: no swt-win32-2135 in java.library.path

It's just a trivial form with a button that toggles text when clicked -- nothing special. I'm guessing it's an SWT configuration issue, but need some guidance as to where / how to fix it.

Thanks for your help!
Allan
allanmarks
 
Posts: 1
Joined: Wed Jul 30, 2003 11:59 am

Re: Error running my first SWT app

Postby admin » Wed Jul 30, 2003 7:57 pm

This is not really problem with Designer, but with SWT.
Read http://eclipsewiki.swiki.net/49
In short you need to copy swt-win32-2135.dll to c:\windows\system32

allanmarks wrote:Received the following error when I tried to run my first SWT app:

java.lang.UnsatisfiedLinkError: no swt-win32-2135 in java.library.path

It's just a trivial form with a button that toggles text when clicked -- nothing special. I'm guessing it's an SWT configuration issue, but need some guidance as to where / how to fix it.

Thanks for your help!
Allan
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby Christopher » Mon Mar 26, 2007 8:08 am

at the moment, the link (embedded in the answer) is not valid and fails!

Christopher Culp
Christopher
 
Posts: 1
Joined: Wed Mar 14, 2007 7:26 am
Location: programmer

Postby Eric Clayberg » Mon Mar 26, 2007 8:22 am

Christopher wrote:at the moment, the link (embedded in the answer) is not valid and fails!

Note the date. That link was posted almost four years ago. The Eclipse Wiki moved a long time ago.

You shoud Google "SWT UnsatisfiedLinkError" or read the Eclipse SWT FAQ.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest