java.lang.SecurityException [class.method]

Exception Class java.lang.SecurityException
Message class.method: Only fully trusted classes can have native methods as members.
Possible Causes The native keyword has been used on a method that is a member of a class that is not loaded with full permissions (for example, an unsigned applet). This exception is thrown only if an attempt is made to invoke the native method.
Possible Solutions Digitally sign your applet requesting full permissions.