在jdk安装目录下找到文件(/data/java/jdk1.8.0_181/jre/lib/security): java.security
然后找到代码:securerandom.source=file:/dev/random
替换为:securerandom.source=file:/dev/./urandom
保存 java.security 文件即可
在jdk安装目录下找到文件(/data/java/jdk1.8.0_181/jre/lib/security): java.security
然后找到代码:securerandom.source=file:/dev/random
替换为:securerandom.source=file:/dev/./urandom
保存 java.security 文件即可