wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Linker error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Linker error" Watch "Linker error" New topic
Author

Linker error

deepa anandan
Greenhorn

Joined: Jun 06, 2006
Posts: 24
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

Joined: Sep 05, 2004
Posts: 40

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.


SCJP, SCMAD
http://parambir.me
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
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
 
subject: Linker error
 
Similar Threads
not able to call my header file
log4j - email
Hibernate
ExceptionInInitializerError
I am unable to create initialcontext obejct