CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    May 2012
    Posts
    1

    java.io.filepermission access denied error

    the code has a part in which it has to write (append) in a file
    i have created that file,the code it saves the entered data in the file.

    But when i open it, its not there
    this particular exception is thrown

    java.security.accesscontrolexception access denied (java.io.filepermission
    i have also changed policy file, but to no avail
    i have tried signing the application, but i think it went wrong somewhere

    can anyone tell me the "exact" syntax of command that i have to enter in java.policy file?
    Attached Images Attached Images  

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: java.io.filepermission access denied error

    can anyone tell me the "exact" syntax of command that i have to enter in java.policy file?
    It's the bit in brackets in the error message
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured