1.编辑$JAVA_HOME/jre/lib/security/Java.security文件
vi /opt/jdk1.8/jre/lib/security/Java.security
2.修改配置项
securerandom.source=file:/dev/random
修改为
securerandom.source=file:/dev/urandom
如果不行试下改成这种
securerandom.source=file:/dev/./urandom
原文地址:https://www.cnblogs.com/jenkins/p/12228549.html
时间: 2024-11-09 00:32:33