JavaRanch » Java Forums »
Engineering »
Testing
| Author |
java.security.AccessControlException: access denied
|
Tom Mordon
Ranch Hand
Joined: Apr 26, 2012
Posts: 30
|
|
I'm trying to get my permissions to work properly. I get the error below and pasted below that is the supporting code which includes the policy file and java file being tested. I know my path is correct and that I have enabled read and write so I'm not sure why its giving me the error? Thoughts? Is there something that I'm missing? As I said I'm positive the path is correct and I have a stable internet connection so I know dropbox is connected.
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
|
|
|
I skipped over all that code, but it looks like you have an extra " character in line 4 of your policy file.
|
 |
Tom Mordon
Ranch Hand
Joined: Apr 26, 2012
Posts: 30
|
|
|
Your right, I took care of the extra " mark but it still gives the same error. Didn't see that though thanks.
|
 |
 |
|
|
subject: java.security.AccessControlException: access denied
|
|
|
|