Error while creating the Address Book Application

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 while creating the Address Book Application

Postby sheeba » Tue Jul 25, 2006 10:10 pm

I'm using the Proffessional evaluation version of window builder pro.i have activated it through email.it is first time i'm using eclipse and window builder pro.i have basic knowledge in java.
while i'm trying to run the SWT-AddressBook Application i got the following msg in the console view.how i can add the corresponding source in the library?anybody can help me?
i got the msg as

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at AddressBookUI.open(AddressBookUI.java:24)
at AddressBookUI.main(AddressBookUI.java:14)



sheeba
sheeba
 
Posts: 2
Joined: Sun Jul 23, 2006 10:51 pm

Re: Error while creating the Address Book Application

Postby Eric Clayberg » Wed Jul 26, 2006 1:16 pm

See the Designer FAQ.

The Eclipse SWT DLL (which can be found in the org.eclipse.swt.win32.win32.x86_3.x.x.jar file) needs to be on your path. Placing it into your windows/system32 directory is the easiest thing to do.

If you are launching your app from within Eclipse, you should use Run As > SWT Application rather than Run As > Java Application.
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: No registered users and 1 guest