Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » UnsatisfiedLinkException (Internal Error 193) in SWT DLL
UnsatisfiedLinkException (Internal Error 193) in SWT DLL [message #437286] Wed, 02 June 2004 14:47
Tim is currently offline TimFriend
Messages: 18
Registered: July 2009
Junior Member
Hey everyone,

I've downloaded the WS Device Developer stuff from the IBM site
(Version 5.6) and have attempted to deploy it (manually) to one of our
devices [Windows CE 4.2 running on a ARM PXA-255 (ARMV4I)]. I've been
mostly successful - the basic JVM runs, and I was able to get a simple
application running using the JCL Foundation stuff.

However, where I'm having problems is when I attempt to use the
SWT components of WSDD. I copied all the runtime components, including
the appropriate SWT DLL included with the ARM/CE support package over to
the device, but I get an exception mid-way through loading the AWT
classes, when it attempts to load the SWT OS-specific stuff. I get the
following:

(lots of class loading snipped ...)

class load: org/eclipse/swt/internal/Library
class load: java/lang/LinkageError
class load: java/lang/UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError: swt-win32-3009 (Internal Error 193)
class load: java/lang/StackTraceElement
class load: java/lang/StackTraceElement[]
at java.lang.Throwable.<init>(Unknown Source)
at java.lang.Throwable.<init>(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.ClassLoader.loadLibraryWithClassLoader(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.win32.OS.<clinit>(Unknown Source)
at java.lang.Class.initializeImpl(Native Method)
at java.lang.Class.initialize(Unknown Source)
at org.eclipse.swt.widgets.Display.internal_new_GC(Unknown Source)
at org.eclipse.swt.graphics.Device.init(Unknown Source)
at org.eclipse.swt.widgets.Display.init(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at java.awt.BBToolkit.getDisplay(Unknown Source)
at java.awt.BBToolkit$1.run(Unknown Source) class load:
java/lang/NoClassDefFoundError
Exception in thread "main" java.lang.NoClassDefFoundError:
org.eclipse.swt.internal.win32.OS
at java.lang.Throwable.<init>(Unknown Source)
at java.lang.Throwable.<init>(Unknown Source)
at java.lang.Class.initialize(Unknown Source)
at org.eclipse.swt.widgets.Display.internal_new_GC(Unknown Source)
at org.eclipse.swt.graphics.Device.init(Unknown Source)
at org.eclipse.swt.widgets.Display.init(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at java.awt.BBToolkit.getDisplay(Unknown Source)
at com.ibm.oti.awt.Util.getDisplay(Unknown Source)
at com.ibm.oti.awt.Util.isValidSWTThread(Unknown Source)
at java.awt.BBToolkit.isDisplayThread(Unknown Source)
at java.awt.BBToolkit.getScreenSize(Unknown Source)
at com.ibm.ive.examples.jclppro.HelloWorld.openWindow(Unknown Source)
at com.ibm.ive.examples.jclppro.HelloWorld.main(Unknown Source)

This to me looks like the DLL is found, but an exception occurs when it
is loaded. I attempted to load the DLL manually, from a simple test app,
and got similar results.

I'm wondering if my CE device is missing another DLL that is not being
found by the SWT DLL, or something similar.

Any thoughts/help/suggestions would be greatly appreciated!

Thanks!

Tim
Previous Topic:Stupid StyledText Trick
Next Topic:Position SWT Browser
Goto Forum:
  


Current Time: Fri Apr 26 11:17:50 GMT 2024

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

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

Back to the top