Wiki Markup |
---|
Both environment variables and system properties provide user-defined mappings between keys and their corresponding values and can be used to communicate those values from the environment to a process. According to the Java API \[[API 2006|AA. Bibliography#APIReferences#API 06]\] {{java.lang.System}} class documentation: |
...
Wiki Markup |
---|
_The Java Tutorial_ \[[Campione 1996|AA. Bibliography#CampioneReferences#Campione 96]\] states: |
To maximize portability, never refer to an environment variable when the same value is available in a system property. For example, if the operating system provides a user name, it will always be available in the system property
user.name
.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f3650a10aa517e83-c2fc0ab1-4f3a41f1-8a54aa75-c2a295400e920c8698d9fddc"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API References#API 06]] | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="df18255b95ff2fc8-c3681197-4cd24271-a6f093f7-b0e828bf4f499561830757cd"><ac:plain-text-body><![CDATA[ | [[Campione 1996 | AA. Bibliography#Campione References#Campione 96]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
...