- 解决办法:
- 编辑$JAVA_HOME/jre/lib/security/java.security 文件,
- 找到 securerandom.source=file:/dev/random 这一行内容
- 改为:securerandom.source=file:/dev/urandom (亲测,问题解决。)
- 或者将 securerandom.source=file:/dev/urandom
- 修改为 securerandom.source=file:/dev/./urandom
- 参考文章:
- http://www.roncoo.com/article/detail/125962