I have written some Java Applets and bundled them into a signed JAR. Even though the Applets are signed, they still need to be some changes on the client concerning the java.policy
file. For example, to do a print job.
To help the end user, the user can download another JAR with a small Swing app which will add the entries to their .java.policy
.
My questions:
Is there a well known library to deploy/deliver/install java.policy
?
The small application will simply append to the .java.policy
. If run several time, the program will append the same data several times. It would be better if I only add the entry once. For that I have to parse the .java.policy
and write back. Is there any library to manipulate java.policy
entries?