Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java SE strong cryptography for Java 7? [closed]

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

like image 667
Borislav Avatar asked Jul 27 '11 11:07

Borislav


People also ask

Is Java 7 still supported?

Java 7 is no longer publicly supported. For Java 11, long-term support will not be provided by Oracle for the public; instead, the broader OpenJDK community, as Eclipse Adoptium or others, is expected to perform the work. Java 17 the latest (3rd) LTS was released on September 14, 2021.

What is the difference between Java 7 and Java 8?

Java 7 supports JVM for languages of dynamic form and generic instance intervention. Java 8 offers a new language feature known as Lambda Expressions, which allows users to code local functions as an argument for methods, for the programming language that's best predicted.


2 Answers

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

like image 123
JarHead Avatar answered Jan 02 '23 03:01

JarHead


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.

like image 41
Priyank Desai Avatar answered Jan 02 '23 04:01

Priyank Desai