首页 > 编程语言 > 详细

修改java配置文件

时间:2019-05-16 18:41:59      阅读:125      评论:0      收藏:0      [点我收藏+]

 

 

文件路径  /usr/local/java/jre/lib/security/java.security 

 

# The entropy gathering device can also be specified with the System
# property "java.security.egd". For example:
#
#   % java -Djava.security.egd=file:/dev/random MainClass
#
# Specifying this System property will override the
# "securerandom.source" Security property.
#
# In addition, if "file:/dev/random" or "file:/dev/urandom" is
# specified, the "NativePRNG" implementation will be more preferred than
# SHA1PRNG in the Sun provider.
#
#securerandom.source=file:/dev/random

securerandom.source=file:/dev/./urandom

注释 securerandom.source=file:/dev/random  添加一行 securerandom.source=file:/dev/./urandom

 

修改java配置文件

原文:https://www.cnblogs.com/greys/p/10877114.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!