Created
March 3, 2016 18:56
-
-
Save kloudsamurai/fe8507ace0514d8bc60e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-linux-x64.rpm" | |
sudo yum -y localinstall jdk-*.rpm | |
rm -fR jdk-*.rpm | |
/usr/sbin/alternatives --config java | |
# install JCE 8 | |
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" | |
unzip jce_policy-8.zip | |
mv /usr/java/default/jre/lib/security/local_policy.jar /usr/java/default/jre/lib/security/local_policy.jar.backup | |
mv /usr/java/default/jre/lib/security/US_export_policy.jar /usr/java/default/jre/lib/security/US_export_policy.jar.backup | |
mv UnlimitedJCEPolicyJDK8/*.jar /usr/java/default/jre/lib/security/ | |
rm -f jce_policy-8.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
# install JCE 8 wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" unzip jce_policy-8.zip
it help me, thanks:)