Background
http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html
http://dino.ciuffetti.info/2016/04/how-to-check-if-jce-unlimited-strength-policy-is-installed/
Checking JCE using Java command line
Here is the command used to check JCE strength on windows. The output should be >=256
1 | jrunscript -e "print (javax.crypto.Cipher.getMaxAllowedKeyLength('AES'));" |
Example of result on windows where JCE is configured
1 | C:\java\jdk1.8.0_91\bin>jrunscript -e "print (javax.crypto.Cipher.getMaxAllowedKeyLength('AES'));" |
Same command can be used on linux to check. Just make sure the jrunscript is triggerred using the one under the <JRE/JDK_home>bin you want to check.