How To Install JCE

Java Cryptography Extension (a.k.a JCE), for an unlimited strength jurisdiction policy,

can be easily installed by replacing the currently existing local_policy.jar and US_export_policy.jar,

With the unrestricted ones you can download from Oraclefor JDK 7

Where local_policy.jar and US_export_policy.jar are placed:
look for them here:

  • %JRE_HOME%\lib\security\
  • %JAVA_HOME%\jre\lib\security\
  • C:\Program Files\Java\jdk1.7.0_80\jre\lib\security\ (version may vary)
  • C:\Program Files\Java\jre7\lib\security\ (version may vary)

fyi..

set this on your machine, following this example:

JAVA_HOME
    C:\Program Files\Java\jdk1.7.0_80
or  C:\PROGRA~1\Java\JDK17~1.0_8\
JRE_HOME
    C:\Program Files\Java\jdk1.7.0_80\jre
or  C:\PROGRA~1\Java\JDK17~1.0_8\jre

also, add C:\PROGRA~1\Java\JDK17~1.0_8\bin to your PATH


Here are some local download-mirror for JDK6, JDK7 and JDK8:

Leave a Reply