src/share/classes/java/lang/System.java

Print this page




 528 
 529     /**
 530      * Determines the current system properties.
 531      * <p>
 532      * First, if there is a security manager, its
 533      * <code>checkPropertiesAccess</code> method is called with no
 534      * arguments. This may result in a security exception.
 535      * <p>
 536      * The current set of system properties for use by the
 537      * {@link #getProperty(String)} method is returned as a
 538      * <code>Properties</code> object. If there is no current set of
 539      * system properties, a set of system properties is first created and
 540      * initialized. This set of system properties always includes values
 541      * for the following keys:
 542      * <table summary="Shows property keys and associated values">
 543      * <tr><th>Key</th>
 544      *     <th>Description of Associated Value</th></tr>
 545      * <tr><td><code>java.version</code></td>
 546      *     <td>Java Runtime Environment version</td></tr>
 547      * <tr><td><code>java.vendor</code></td>
 548      *     <td>Java Runtime Environment vendor</td></tr
 549      * <tr><td><code>java.vendor.url</code></td>
 550      *     <td>Java vendor URL</td></tr>
 551      * <tr><td><code>java.home</code></td>
 552      *     <td>Java installation directory</td></tr>
 553      * <tr><td><code>java.vm.specification.version</code></td>
 554      *     <td>Java Virtual Machine specification version</td></tr>
 555      * <tr><td><code>java.vm.specification.vendor</code></td>
 556      *     <td>Java Virtual Machine specification vendor</td></tr>
 557      * <tr><td><code>java.vm.specification.name</code></td>
 558      *     <td>Java Virtual Machine specification name</td></tr>
 559      * <tr><td><code>java.vm.version</code></td>
 560      *     <td>Java Virtual Machine implementation version</td></tr>
 561      * <tr><td><code>java.vm.vendor</code></td>
 562      *     <td>Java Virtual Machine implementation vendor</td></tr>
 563      * <tr><td><code>java.vm.name</code></td>
 564      *     <td>Java Virtual Machine implementation name</td></tr>
 565      * <tr><td><code>java.specification.version</code></td>
 566      *     <td>Java Runtime Environment specification  version</td></tr>
 567      * <tr><td><code>java.specification.vendor</code></td>
 568      *     <td>Java Runtime Environment specification  vendor</td></tr>




 528 
 529     /**
 530      * Determines the current system properties.
 531      * <p>
 532      * First, if there is a security manager, its
 533      * <code>checkPropertiesAccess</code> method is called with no
 534      * arguments. This may result in a security exception.
 535      * <p>
 536      * The current set of system properties for use by the
 537      * {@link #getProperty(String)} method is returned as a
 538      * <code>Properties</code> object. If there is no current set of
 539      * system properties, a set of system properties is first created and
 540      * initialized. This set of system properties always includes values
 541      * for the following keys:
 542      * <table summary="Shows property keys and associated values">
 543      * <tr><th>Key</th>
 544      *     <th>Description of Associated Value</th></tr>
 545      * <tr><td><code>java.version</code></td>
 546      *     <td>Java Runtime Environment version</td></tr>
 547      * <tr><td><code>java.vendor</code></td>
 548      *     <td>Java Runtime Environment vendor</td></tr>
 549      * <tr><td><code>java.vendor.url</code></td>
 550      *     <td>Java vendor URL</td></tr>
 551      * <tr><td><code>java.home</code></td>
 552      *     <td>Java installation directory</td></tr>
 553      * <tr><td><code>java.vm.specification.version</code></td>
 554      *     <td>Java Virtual Machine specification version</td></tr>
 555      * <tr><td><code>java.vm.specification.vendor</code></td>
 556      *     <td>Java Virtual Machine specification vendor</td></tr>
 557      * <tr><td><code>java.vm.specification.name</code></td>
 558      *     <td>Java Virtual Machine specification name</td></tr>
 559      * <tr><td><code>java.vm.version</code></td>
 560      *     <td>Java Virtual Machine implementation version</td></tr>
 561      * <tr><td><code>java.vm.vendor</code></td>
 562      *     <td>Java Virtual Machine implementation vendor</td></tr>
 563      * <tr><td><code>java.vm.name</code></td>
 564      *     <td>Java Virtual Machine implementation name</td></tr>
 565      * <tr><td><code>java.specification.version</code></td>
 566      *     <td>Java Runtime Environment specification  version</td></tr>
 567      * <tr><td><code>java.specification.vendor</code></td>
 568      *     <td>Java Runtime Environment specification  vendor</td></tr>