How do I cause a trusted applet to load a native library? When running as either of the following, the native libary is successfully loaded:
- An application, or
- Appletviewer with classpath set, the native library is loaded. Running appletviewer with CLASSPATH set and the .jars in that classpath causes the file loader to be used and applet restrictions don't exist
. However, when I run appletviewer without classpath (causing applet class loader to be used), the native library cannot be loaded. The dlls are in my Win NT PATH.
I configured appletviewer for trusted applets and get beyond the initial security restrictions, e.g., reading restricted system propertities, but fail when trying to load a library:
 0 S 1 [Thread-5] class com.ibm.frn.DocViewThread obj.id:8065d5 in GETNEXTDOCUMENT
The same problem (UnsatisfiedLinkError) occurs with Netscape Communicator with Java Activator. The applet's jar file is signed, and Activator is configured for trusted applets.
What do trusted applets use to locate native libraries? I don't think it's PATH (on Win NT) because my PATH is correct.