19 July 2010

Fix Java Web Start UnsatisfiedLinkError

In some cases, mixing i386 and x86_64 architectures, Java Web Start can fall into such error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/local/java/jdk/jdk1.5.0_14/jre/lib/amd64/libdeploy.so

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at com.sun.deploy.config.UnixConfig.loadLibDeploy(UnixConfig.java:41)
at com.sun.deploy.config.UnixConfig.(UnixConfig.java:26)
at com.sun.deploy.config.ConfigFactory.newInstance(ConfigFactory.java:11)
at com.sun.deploy.config.Config.getInstance(Config.java:569)
at com.sun.deploy.config.Config.
(Config.java:585)
at com.sun.javaws.Main.main(Main.java:82)


To resolve it, you can simply erase your deployment configuration file:
~/.java/deployment/deployment.properties

No comments:

Post a Comment

Thank you for your visit, let's share your point of view: