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!

Signed applet: access denied (java.util.PropertyPermission user.dir read)

843802Feb 7 2007 — edited Jun 18 2007
Dear java experts,

I am trying to hack some of my own code into a file upload applet I got off Sourceforge. I know two things so far... my code works when it's in my separate test applet and the ZUpload applet works before I modify it.

I have put my code into ZUpload and it compiles ok. I have packed it all up into a new jar and signed it.

The new jar contains:
/MyModifiedZUpload.class
/MyNewAdditional.class
/ [the various packages needed by ZUpload]

When I try and use the new jar I get the dreaded:
java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)

I have been searching for info about this error but it seems it's usually due to unsigned applets... but I've signed mine into a new jar so it can't be that...? If anyone can point me in the right direction it's much appreciated. Yes, I am a humble newbie.

cheers!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2007
Added on Feb 7 2007
5 comments
4,663 views