System.Properties和System.getenv区别

getenv是获取系统的环境变更,对于windows对在系统属性-->高级-->环境变量中设置的变量将显示在此(对于linux,通过export设置的变量将显示在此)
getProperties是获取系统的相关属性,包括文件编码,操作系统名称,区域,用户名等,此属性一般由jvm自动获取,不能设置.

http://blog.csdn.net/lanwenbing/article/details/40780971

http://blog.csdn.net/turkeyzhou/article/details/7619472

http://www.cnblogs.com/emberd/p/5973516.html

http://blog.csdn.net/u012345283/article/details/40823637

猜你喜欢

转载自rd-030.iteye.com/blog/2395935
今日推荐