在JVM环境中解决
修改 $JAVA_PATH/jre/lib/security/java.security,$JAVA_PATH为你的java安装目录进入到$JAVA_PATH/jre/lib/security/
vim java.security
找到内容:securerandom.source=file:/dev/random替换成securerandom.source=file:/dev/urandom
修改 $JAVA_PATH/jre/lib/security/java.security,$JAVA_PATH为你的java安装目录进入到$JAVA_PATH/jre/lib/security/
vim java.security
找到内容:securerandom.source=file:/dev/random替换成securerandom.source=file:/dev/urandom