开发者

Java SE strong cryptography for Java 7? [closed]

开发者 https://www.devze.com 2023-03-23 00:36 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and cita开发者_如何学JAVAtions.

Closed 6 years ago.

Improve this question

The preview release of Java 7 seems to be missing JCE package for unlimited cryptography strength. Has someone stumbled upon such?


http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html


You need to install the missing JCE package.

  1. Locate your jre lib/security directory

    $ which java
    /usr/bin/java
    
    # Do this recursively till you find the java installation folder
    $ ls -la /usr/bin/java 
    

On Linux it should be by default: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/security/

On Windows it should be by default: C:\Program Files\Java\jre7\lib\security

  1. Download the Java Cryptography Extension (JCE)

Download for Java 6: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

Download for Java 7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

Download for Java 8: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

  1. Install the JCE

Extract the downloaded zip and place the two .jar files: US_export_policy.jar and local_policy.jar into your jre/lib/security folder.

Overwrite old files if any.

0

精彩评论

暂无评论...
验证码 换一张
取 消