Posted By

laurenceosx on 10/02/10


Tagged

java


Versions (?)

Java Policy File for development on local machine


 / Published in: Java
 

  1. // filename: .java.policy
  2. // NOTE: filename starts with a period!!!
  3. // put this in your home folder ( on win this is env var USERPROFILE )
  4. grant codeBase "file:///-" { permission java.security.AllPermission "java.security.AllPermission.*"; };
  5. grant codeBase "http://localhost/-" { permission java.security.AllPermission "java.security.AllPermission.*"; };

Report this snippet  

You need to login to post a comment.