File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes java.lang.UnsatisfiedLinkError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "java.lang.UnsatisfiedLinkError" Watch "java.lang.UnsatisfiedLinkError" New topic
Author

java.lang.UnsatisfiedLinkError

SanjayR Jain
Ranch Hand

Joined: Mar 05, 2009
Posts: 43
Hello there
Now a days I am working on a application in which I am using eclipse 3.4 Ganymade version.
In the application I am using GWT 1.7.1.
For using GWT I have downloaded all GWT plugin and put it in to the eclipse plugins folder.
And also putted the jar files in the my aplication.
But when I run the application It is giving error in console like this.

java.lang.UnsatisfiedLinkError: Can't load library: E:\NT_WorkSpace\Client\war\WEB-INF\lib/swt-win32-3235.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at com.google.gwt.dev.SwtHostedModeBase.<clinit>(SwtHostedModeBase.java:96)
Exception in thread "main"

And a pop up window containing message this :
"Could not find main class.Program will exit "



Please Can you tell me at what place I am doing wrong?
SanjayR Jain
Ranch Hand

Joined: Mar 05, 2009
Posts: 43
Hello All
After doing Research of this issue I got the solutions.
What I did is, I putted the two dll file in to the lib folder of web-inf.


These both files can be found while downloading GWT1.7.1.

Thanks
Nilesh Pat
Ranch Hand

Joined: Mar 01, 2010
Posts: 46
hi
which dll files you put in to the lib folder of web-inf?
i got the same error. for that i clean up all jar from library and put them again..
but it's not right solution.. so what did you exactly did??


Regards,
Nil
SanjayR Jain
Ranch Hand

Joined: Mar 05, 2009
Posts: 43
There are two dll files which I have putted in the lib folder along woth all jar files.
Name os this twos are
gwt-ll.dll
swt-win32-3235.dll

You can get this dll files along with ja file of gwt.(which you will download from Google site)

hope this will help you.
Nilesh Pat
Ranch Hand

Joined: Mar 01, 2010
Posts: 46
thank you...
i will try it if i got same error again. for now code is working with available jars.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.UnsatisfiedLinkError