Use the PolicyTool utility to update policy files.
Java 2 security uses several policy files to determine the granted permission for each Java program. The Java Development Kit provides the PolicyTool tool to edit these policy files. This tool is recommended for editing any policy file to verify the syntax of its contents. Syntax errors in the policy file cause an AccessControlException exception when the application runs, including the server start. Identifying the cause of this exception is not easy because the user might not be familiar with the resource that has an access violation. Be careful when you edit these policy files.
For example, you can enter the following command at a Windows command prompt:
%{was.install.root}/java/jre/bin/policytool
The PolicyTool window opens. The tool looks for the java.policy file in your home directory. If it does not exist, an error message displays.
Click OK.