[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] Update/uninstall SWT application in Equinox gives UnsatisfiedLinkError



I do not know if SWT uses native libraries, if it uses then you should  include them in Manifest.MF with the Bundle-NativeCode: header, you can also try to fix the java.library.path in the command line with your native library path, when you launch Equinox.


I got a similar Exception because I could not load a native library in Ubuntu.







De: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] En nombre de Vidya Vadke
Enviado el: jueves, 27 de agosto de 2009 10:50
Para: equinox-dev@xxxxxxxxxxx
Asunto: [equinox-dev] Update/uninstall SWT application in Equinox gives UnsatisfiedLinkError




I am trying to run an SWT application in OSGi environment. Install/start bundle works fine. But when I update the bundle or try to uninstall-install and start again, I get java.lang.UnsatisfiedLinkError - no swt-win32-3550 in java.library.path.

I have tried putting swt.jar in classpath, extracting swt.jar and putting swt related dlls in windows path, also in jre/bin directory. Still uninstall-install works for the first time. If is try the same once more, it again gives the same error.

Any help towards solving this problem would be appreciated.





DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.