This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linker error

 
deepa anandan
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running an application using widgets in java which accepts temperature value and converts to its celsius.
As soon as I run the program I m reported with the following error

java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
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 samplugin.actions.TemperatureConverter.<init>(TemperatureConverter.java:14)
at samplugin.actions.TemperatureConverter.main(TemperatureConverter.java:101)
Exception in thread "main"


please let me know why m I getting Linker error?
 
Parambir Singh
Ranch Hand
Posts: 40
Android Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you are trying to use the SWT widget library, but have not added its jar file to the classpath. Doing so should remove the error.
 
pascal betz
Ranch Hand
Posts: 547
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need the native stuff from SWT in your library path: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.examples/doc-html/swt_manual_setup.html?rev=1.1.2.2
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic