Skip to content

Instantly share code, notes, and snippets.

@kloudsamurai
Last active September 10, 2021 13:53
Show Gist options
  • Save kloudsamurai/b644351abde2058edcdfbcceca436f64 to your computer and use it in GitHub Desktop.
Save kloudsamurai/b644351abde2058edcdfbcceca436f64 to your computer and use it in GitHub Desktop.
Install Java via Homebrew (brew) on Mac OSX with unlimited strength JCE
brew update
brew cask install java
brew cask install jce-unlimited-strength-policy
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
@gumho
Copy link

gumho commented Apr 25, 2018

Starting in Java 1.8u151, you can just set crypto.policy=unlimited to your java.security file and skip downloading the unlimited strength jars. This is mentioned in release notes here: http://www.oracle.com/technetwork/java/javase/8all-relnotes-2226344.html#R180_151.

@jeremyschlatter
Copy link

Starting in Java 1.8u161, unlimited strength cryptography is enabled by default. https://stackoverflow.com/a/45055461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment