Java SE strong cryptography for Java 7? [closed]

你。 提交于 2019-11-30 14:04:44

问题


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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/6843776/java-se-strong-cryptography-for-java-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!