Added dll to PATH, still cannot run basic 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

Added dll to PATH, still cannot run basic app

Postby dgagliardi » Fri Sep 17, 2004 6:46 pm

I copied the SWTDesigner.dll to C:\Winxp\system32. Shut everything down and rebooted.

Eclipse 3.0.1
SWT-designer 2.1.1
Win XP Pro, SP2

What else am I missing?

java.lang.UnsatisfiedLinkError: no swt-win32-3063 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:100)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:564)
at org.eclipse.swt.widgets.Display.init(Display.java:1780)
at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:993)
at dev.test2.Test2.open(Test2.java:30)
at dev.test2.Test2.main(Test2.java:26)
Exception in thread "main"
dgagliardi
 
Posts: 2
Joined: Fri Sep 17, 2004 6:42 pm

Postby admin » Fri Sep 17, 2004 11:45 pm

You can see in exception message name of DLL that is required. So, you sould copy swt-win32-3063.dll in windows\system32.
SWTDesigner.DLL is just internal DLL for Designer functionality, you don't need it or any other piece of Designer to run your applications.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby dgagliardi » Sat Sep 18, 2004 5:39 am

Ya, I checked. I downloaded both the stable build and the GA for eclipse 3.0 and neither of the two downloads contain any dlls other than SWTDesigner.dll
dgagliardi
 
Posts: 2
Joined: Fri Sep 17, 2004 6:42 pm

Postby admin » Sat Sep 18, 2004 9:04 am

SWT DLL is not part of SWT Designer, but part of Eclipse, so look for it in $ECLIPSE_HOME/plugins.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest