Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.security.AccessControlException: access denied (java.util.PropertyPerm

user13329458Aug 12 2007 — edited Nov 27 2007
Hi!
jre 1.6
Windows XP

In IDE Eclipe applet work OK. I sign applet and do all recomendation as describe in article http://java.sun.com/developer/technicalArticles/Security/Signed/
My html code is:
<applet code="AppletDeclaration.class"
archive="SSignedAppletDeclaration.jar"
width=600 height=600>
</applet>

SSignedAppletDeclaration.jar is sign jar

But when I run applet in browser IE 6.0 I got the next error:




java.security.AccessControlException: access denied (java.util.PropertyPermission user.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 md.deeplace.edeclaration.AppletDeclaration.init(AppletDeclaration.java:20)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2007
Added on Aug 12 2007
6 comments
10,707 views