> Make sure to install http://www.oracle.com/technetwork/java/javase/downloads/jce8.... to allow 160-bit cryptography
Or don't use the Oracle proprietary distribution but the OpenJDK of your operating system which normally doesn't exclude proper crypto algorithms.
(be aware that the JDKs downgrade silently if certain libraries are missing in your host)