Home > java > Install the Java Cryptography Extension (JCE)

Install the Java Cryptography Extension (JCE)

In order to install the Java JCE, follow these steps:

  • The first obstacle is how to download JCE :) Where the hell is it? Visit the Java HQ and click on Java SE Downloads in the top right hand corner. Scroll down to the bottom and there it is; perfectly hidden so that no one can find it. The file is called jce_policy-6.zip and it’s only 9 KB.
  • Extract the downloaded ZIP. You’ll have two JAR files: local_policy.jar and US_export_policy.jar.
  • Locate your Java installation and enter the “jre” directory. In my case its path is /opt/jdk1.6.0_24/jre. I will refer to this directory as JRE.
  • Enter $JRE/lib/security and make a backup of the files local_policy.jar and US_export_policy.jar. Then replace them with the ones from the JCE ZIP file.

done

About these ads
Categories: java Tags: ,
  1. September 13, 2011 at 13:18 | #1

    Thanks! This helped me

  1. No trackbacks yet.
You must be logged in to post a comment.
Follow

Get every new post delivered to your Inbox.

Join 61 other followers

%d bloggers like this: