Difference between System.Properties and System.getenv

getenv is to get the environment changes of the system. For windows, the variables set in the system properties --> advanced --> environment variables will be displayed here (for linux, the variables set through export will be displayed here)
getProperties is to get the system Related attributes, including file encoding, operating system name, region, user name, etc., this attribute is generally obtained automatically by jvm and cannot be set.

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

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326727764&siteId=291194637