How can I use JNI in an applet?

John Zukowski

Applets need to be trusted in order to execute the necessary System.loadLibrary() method. The PolicyManager will check for the RuntimePermission to loadLibrary.<library name>. This is separate from the delivery of the appropriate shared library for the user's specific platform.

Also see the notes at, that imply "Just Say No!".

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact