I posted this question here as well:
I have an applet that is loaded via Java Web Start in a browser. This applet uses a few native libraries for things like Microsoft Office Interop and Active Directory communication.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Application Resources -->
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="applets/MyApplet.jar" main="true" />
When the applet is loaded, everything is fine and the libraries work as expected. However, if I close the applet and then re-open it, I get this error in the Java Console:
UnsatisfiedLinkError: no jacob in java.library.path
UnsatisfiedLinkError: no com4j in java.library.path
If I clear the Java cache, it then begins working again. However, it works only for one more time, after which it fails with the same error until I clear the Java cache again.