powered by Jive Software

Enable policy to execute permissions applet


I Creating an applet where this i create an object of a class that is

in a jar in my directory lib / ext of java. As make to release all file

permissions on my policy so that I can run my application, because now

I am not able, is showing the following error:

java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)

At java.security.AccessControlContext.checkPermission (Unknown Source)

At java.security.AccessController.checkPermission (Unknown Source)

At java.lang.SecurityManager.checkPermission (Unknown Source)

At java.lang.SecurityManager.checkPropertyAccess (Unknown Source)

At java.lang.System.getProperty (Unknown Source)

At org.jivesoftware.smack.ConnectionConfiguration.init (ConnectionConfiguration.java: 121)

At org.jivesoftware.smack.ConnectionConfiguration. <init> (ConnectionConfiguration.java: 111)

At com.supridatta.jabber.user.FramePrincipal.recebeConnect (FramePrincipal.java: 250)

Thanks for all the answers!


You will have to digitally sign any applet that needs access outside the sandbox.

Here’s a users guide


Suns guide

http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/rsa_signing.htm l