Resolving JDK security policy issue for JDK 7u51 and JDK 8 with JReport 12.x or earlier
JDK 7u51 (JDK 1.7.0_51) and later includes security enhancements that require specific security policies to be defined in order for JReport 12.x or earlier to run properly. To include these JDK security policies, simply do as follows:
- Create a jreport.policy file to enable the required permissions. Download jreport.policy.
- Add the jreport.policy file to the <JRServer_install_root>\derby\bin folder.
- Add the VM argument -Djava.security.manager -Djava.security.policy=”jreport.policy” to startNetworkServer.bat and stopNetworkServer.bat in the <JRServer_install_root>\derby\bin folder.