2. 在 JVM 環境中解決:java
打開 $JAVA_PATH/jre/lib/security/java.security 這個文件,找到下面的內容:dom
1spa
securerandom.source=file:/dev/randomcode
securerandom.source=file:/dev/random
替換成:ci
1it
securerandom.source=file:/dev/./urandomtable
securerandom.source=file:/dev/./urandom