Last active
September 27, 2017 03:55
-
-
Save pironim/aaf8418424c36b1486b9 to your computer and use it in GitHub Desktop.
apply UnlimitedJCEPolicyJDK8
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
JCE_DIR="$(dirname $(dirname $(readlink -f $(which javac))))/jre/lib/security" | |
echo JCE_DIR | |
# http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html | |
# http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html | |
# Dowload and unpack UnlimitedJCE policy files | |
# backup | |
sudo mv $JCE_DIR/local_policy.jar $JCE_DIR/local_policy.jar.bak1 | |
sudo mv $JCE_DIR/US_export_policy.jar $JCE_DIR/US_export_policy.jar.bak1 | |
cd UnlimitedJCEPolicyJDK8 | |
# apply new files | |
sudo mv -t $JCE_DIR local_policy.jar US_export_policy.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment