java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer java java

java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer


Rather than mixing runtime and policy file versions, you should use the policy files for Java 7.


This happens when Java version does not match with the version of policy files. You can download the relevant policy files from following links.

Policy jars for Java 8
Policy jars for Java 7
Policy jars for Java 6


Its possible that you have different versions of the JDK. For example if your JAVA_HOME points to version 7, but in your path version 6 shows up before version 7, this error could pop up.