jdk/src/java.base/share/classes/java/lang/System.java
changeset 45881 aaec0fbe17ae
parent 45705 a4239e9b21a3
child 45924 8bbd04c0791e
equal deleted inserted replaced
45871:878e21603932 45881:aaec0fbe17ae
   580      * initialized. This set of system properties always includes values
   580      * initialized. This set of system properties always includes values
   581      * for the following keys:
   581      * for the following keys:
   582      * <table class="striped">
   582      * <table class="striped">
   583      * <caption style="display:none">Shows property keys and associated values</caption>
   583      * <caption style="display:none">Shows property keys and associated values</caption>
   584      * <thead>
   584      * <thead>
   585      * <tr><th>Key</th>
   585      * <tr><th scope="col">Key</th>
   586      *     <th>Description of Associated Value</th></tr>
   586      *     <th scope="col">Description of Associated Value</th></tr>
   587      * </thead>
   587      * </thead>
   588      * <tbody>
   588      * <tbody>
   589      * <tr><td><code>java.version</code></td>
   589      * <tr><th scope="row"><code>java.version</code></th>
   590      *     <td>Java Runtime Environment version which may be interpreted
   590      *     <td>Java Runtime Environment version which may be interpreted
   591      *     as a {@link Runtime.Version}</td></tr>
   591      *     as a {@link Runtime.Version}</td></tr>
   592      * <tr><td><code>java.vendor</code></td>
   592      * <tr><th scope="row"><code>java.vendor</code></th>
   593      *     <td>Java Runtime Environment vendor</td></tr>
   593      *     <td>Java Runtime Environment vendor</td></tr>
   594      * <tr><td><code>java.vendor.url</code></td>
   594      * <tr><th scope="row"><code>java.vendor.url</code></th>
   595      *     <td>Java vendor URL</td></tr>
   595      *     <td>Java vendor URL</td></tr>
   596      * <tr><td><code>java.home</code></td>
   596      * <tr><th scope="row"><code>java.home</code></th>
   597      *     <td>Java installation directory</td></tr>
   597      *     <td>Java installation directory</td></tr>
   598      * <tr><td><code>java.vm.specification.version</code></td>
   598      * <tr><th scope="row"><code>java.vm.specification.version</code></th>
   599      *     <td>Java Virtual Machine specification version which may be
   599      *     <td>Java Virtual Machine specification version which may be
   600      *     interpreted as a {@link Runtime.Version}</td></tr>
   600      *     interpreted as a {@link Runtime.Version}</td></tr>
   601      * <tr><td><code>java.vm.specification.vendor</code></td>
   601      * <tr><th scope="row"><code>java.vm.specification.vendor</code></th>
   602      *     <td>Java Virtual Machine specification vendor</td></tr>
   602      *     <td>Java Virtual Machine specification vendor</td></tr>
   603      * <tr><td><code>java.vm.specification.name</code></td>
   603      * <tr><th scope="row"><code>java.vm.specification.name</code></th>
   604      *     <td>Java Virtual Machine specification name</td></tr>
   604      *     <td>Java Virtual Machine specification name</td></tr>
   605      * <tr><td><code>java.vm.version</code></td>
   605      * <tr><th scope="row"><code>java.vm.version</code></th>
   606      *     <td>Java Virtual Machine implementation version which may be
   606      *     <td>Java Virtual Machine implementation version which may be
   607      *     interpreted as a {@link Runtime.Version}</td></tr>
   607      *     interpreted as a {@link Runtime.Version}</td></tr>
   608      * <tr><td><code>java.vm.vendor</code></td>
   608      * <tr><th scope="row"><code>java.vm.vendor</code></th>
   609      *     <td>Java Virtual Machine implementation vendor</td></tr>
   609      *     <td>Java Virtual Machine implementation vendor</td></tr>
   610      * <tr><td><code>java.vm.name</code></td>
   610      * <tr><th scope="row"><code>java.vm.name</code></th>
   611      *     <td>Java Virtual Machine implementation name</td></tr>
   611      *     <td>Java Virtual Machine implementation name</td></tr>
   612      * <tr><td><code>java.specification.version</code></td>
   612      * <tr><th scope="row"><code>java.specification.version</code></th>
   613      *     <td>Java Runtime Environment specification version which may be
   613      *     <td>Java Runtime Environment specification version which may be
   614      *     interpreted as a {@link Runtime.Version}</td></tr>
   614      *     interpreted as a {@link Runtime.Version}</td></tr>
   615      * <tr><td><code>java.specification.vendor</code></td>
   615      * <tr><th scope="row"><code>java.specification.vendor</code></th>
   616      *     <td>Java Runtime Environment specification  vendor</td></tr>
   616      *     <td>Java Runtime Environment specification  vendor</td></tr>
   617      * <tr><td><code>java.specification.name</code></td>
   617      * <tr><th scope="row"><code>java.specification.name</code></th>
   618      *     <td>Java Runtime Environment specification  name</td></tr>
   618      *     <td>Java Runtime Environment specification  name</td></tr>
   619      * <tr><td><code>java.class.version</code></td>
   619      * <tr><th scope="row"><code>java.class.version</code></th>
   620      *     <td>Java class format version number</td></tr>
   620      *     <td>Java class format version number</td></tr>
   621      * <tr><td><code>java.class.path</code></td>
   621      * <tr><th scope="row"><code>java.class.path</code></th>
   622      *     <td>Java class path</td></tr>
   622      *     <td>Java class path</td></tr>
   623      * <tr><td><code>java.library.path</code></td>
   623      * <tr><th scope="row"><code>java.library.path</code></th>
   624      *     <td>List of paths to search when loading libraries</td></tr>
   624      *     <td>List of paths to search when loading libraries</td></tr>
   625      * <tr><td><code>java.io.tmpdir</code></td>
   625      * <tr><th scope="row"><code>java.io.tmpdir</code></th>
   626      *     <td>Default temp file path</td></tr>
   626      *     <td>Default temp file path</td></tr>
   627      * <tr><td><code>java.compiler</code></td>
   627      * <tr><th scope="row"><code>java.compiler</code></th>
   628      *     <td>Name of JIT compiler to use</td></tr>
   628      *     <td>Name of JIT compiler to use</td></tr>
   629      * <tr><td><code>os.name</code></td>
   629      * <tr><th scope="row"><code>os.name</code></th>
   630      *     <td>Operating system name</td></tr>
   630      *     <td>Operating system name</td></tr>
   631      * <tr><td><code>os.arch</code></td>
   631      * <tr><th scope="row"><code>os.arch</code></th>
   632      *     <td>Operating system architecture</td></tr>
   632      *     <td>Operating system architecture</td></tr>
   633      * <tr><td><code>os.version</code></td>
   633      * <tr><th scope="row"><code>os.version</code></th>
   634      *     <td>Operating system version</td></tr>
   634      *     <td>Operating system version</td></tr>
   635      * <tr><td><code>file.separator</code></td>
   635      * <tr><th scope="row"><code>file.separator</code></th>
   636      *     <td>File separator ("/" on UNIX)</td></tr>
   636      *     <td>File separator ("/" on UNIX)</td></tr>
   637      * <tr><td><code>path.separator</code></td>
   637      * <tr><th scope="row"><code>path.separator</code></th>
   638      *     <td>Path separator (":" on UNIX)</td></tr>
   638      *     <td>Path separator (":" on UNIX)</td></tr>
   639      * <tr><td><code>line.separator</code></td>
   639      * <tr><th scope="row"><code>line.separator</code></th>
   640      *     <td>Line separator ("\n" on UNIX)</td></tr>
   640      *     <td>Line separator ("\n" on UNIX)</td></tr>
   641      * <tr><td><code>user.name</code></td>
   641      * <tr><th scope="row"><code>user.name</code></th>
   642      *     <td>User's account name</td></tr>
   642      *     <td>User's account name</td></tr>
   643      * <tr><td><code>user.home</code></td>
   643      * <tr><th scope="row"><code>user.home</code></th>
   644      *     <td>User's home directory</td></tr>
   644      *     <td>User's home directory</td></tr>
   645      * <tr><td><code>user.dir</code></td>
   645      * <tr><th scope="row"><code>user.dir</code></th>
   646      *     <td>User's current working directory</td></tr>
   646      *     <td>User's current working directory</td></tr>
   647      * </tbody>
   647      * </tbody>
   648      * </table>
   648      * </table>
   649      * <p>
   649      * <p>
   650      * Multiple paths in a system property value are separated by the path
   650      * Multiple paths in a system property value are separated by the path
   657      * @implNote In addition to the standard system properties, the system
   657      * @implNote In addition to the standard system properties, the system
   658      * properties may include the following keys:
   658      * properties may include the following keys:
   659      * <table class="striped">
   659      * <table class="striped">
   660      * <caption style="display:none">Shows property keys and associated values</caption>
   660      * <caption style="display:none">Shows property keys and associated values</caption>
   661      * <thead>
   661      * <thead>
   662      * <tr><th>Key</th>
   662      * <tr><th scope="col">Key</th>
   663      *     <th>Description of Associated Value</th></tr>
   663      *     <th scope="col">Description of Associated Value</th></tr>
   664      * </thead>
   664      * </thead>
   665      * <tbody>
   665      * <tbody>
   666      * <tr><td>{@code jdk.module.path}</td>
   666      * <tr><th scope="row">{@code jdk.module.path}</th>
   667      *     <td>The application module path</td></tr>
   667      *     <td>The application module path</td></tr>
   668      * <tr><td>{@code jdk.module.upgrade.path}</td>
   668      * <tr><th scope="row">{@code jdk.module.upgrade.path}</th>
   669      *     <td>The upgrade module path</td></tr>
   669      *     <td>The upgrade module path</td></tr>
   670      * <tr><td>{@code jdk.module.main}</td>
   670      * <tr><th scope="row">{@code jdk.module.main}</th>
   671      *     <td>The module name of the initial/main module</td></tr>
   671      *     <td>The module name of the initial/main module</td></tr>
   672      * <tr><td>{@code jdk.module.main.class}</td>
   672      * <tr><th scope="row">{@code jdk.module.main.class}</th>
   673      *     <td>The main class name of the initial module</td></tr>
   673      *     <td>The main class name of the initial module</td></tr>
   674      * </tbody>
   674      * </tbody>
   675      * </table>
   675      * </table>
   676      *
   676      *
   677      * @return     the system properties
   677      * @return     the system properties