java.security.AccessControlException: access denied using Java Web Start

Posted by killiancomputers on Stack Overflow See other posts from Stack Overflow or by killiancomputers
Published on 2010-02-17T00:24:47Z Indexed on 2010/04/29 13:37 UTC
Read the original article Hit count: 588

Filed under:
|
|
|
|

I am having some issues with accessing files using JWS (Java Web Start). The program adds a new label and image. The program runs fine on my local computer but gives me pages of errors when I run the program on my remote server using JWS. Here's a sample of the error:

Exception in thread "AWT-EventQueue-0" java.security.AccessControlException: access denied (java.io.FilePermission add2.png read)
 at java.security.AccessControlContext.checkPermission(Unknown Source)
 at java.security.AccessController.checkPermission(Unknown Source)
 at java.lang.SecurityManager.checkPermission(Unknown Source)

This occurs even after making sure the images have read access.

Ideas?

© Stack Overflow or respective owner

Related posts about java

Related posts about webstart