• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

java.lang.UnsatisfiedLinkError

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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??
 
SanjayR Jain
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you...
i will try it if i got same error again. for now code is working with available jars.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic