简体   繁体   中英

System.getProperty() showing null

How so I get the default value of system property in java like ntlm.debug or jdk.tls.stapling. ignoreExtensions On using system.getProperty(Property name) gives null. I am running with jdk version 11.0.7 Is there any other way to get default values of the properties?

System.getProperties() will give a map of all default properties of the system.
like
sun.management.compiler : HotSpot 64-Bit Tiered Compilers
sun.jnu.encoding : UTF-8
java.runtime.version : 14+36-1461
...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM