Skip to Main Content

Java Programming

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!

Applet not working

807569Jul 14 2006 — edited Jul 15 2006
I have a program that I want to put on my website, I have created a jar file and referenced the applet class and the jar file in an applet tag, but it is giving the following error messages:

java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
at java.lang.System.getProperty(System.java:573)
at sun.awt.shell.ShellFolderManager.get(ShellFolderManager.java:51)
at sun.awt.shell.ShellFolder.get(ShellFolder.java:245)

When I was at college I built a couple of applets for small programs without any problem, just put some settings in an applet tag that was pretty much it. Can any one tell me why now I have to security errors to deal with. Is it because the program is a lot bigger? And any idea of how I can a fix these errors?


Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2006
Added on Jul 14 2006
7 comments
194 views