File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes java.security.AccessControlException: access denied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "java.security.AccessControlException: access denied " Watch "java.security.AccessControlException: access denied " New topic
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
Sheriff

Joined: Oct 14, 2005
Posts: 19458
    
  10

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.security.AccessControlException: access denied