Archive

Posts Tagged ‘java cryptography extension’

Install the Java Cryptography Extension (JCE)

April 14, 2011 1 comment

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

Categories: java Tags: ,
Follow

Get every new post delivered to your Inbox.

Join 42 other followers