Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>java.version</code> is the version of the language implementation. <code>java.vm.version</code> is the version of the engine underneath. That engine may have major improvements in performance between what look like minor releases with no change in functionality, so it is versioned separately.</p> <p>For more detail, here are how <em>Sun</em> and <em>Oracle</em> describe those options:</p> <p><a href="http://java.sun.com/javase/6/docs/api/java/lang/System.html#getProperties()" rel="nofollow noreferrer">Sun</a> says:</p> <ul> <li>java.version - Java Runtime Environment version</li> <li>java.vm.version - Java Virtual Machine implementation version</li> </ul> <p>Oracle's <a href="http://edocs.bea.com/jrockit/jrdocs/refman/sysProp.html" rel="nofollow noreferrer">JRockit</a> docs are a little bit clearer:</p> <ul> <li><p><a href="http://edocs.bea.com/jrockit/jrdocs/refman/sysProp.html#wp999422" rel="nofollow noreferrer">java.version</a> - This property identifies the J2SE JDK/JRE product version; that is, which version of the JDK or JSE you are running. The version number also appears on the first line of the output and is common to Sun JRE and Oracle JRockit JRE. The information generated by this property appears in this format: <pre><code>&lt;jdk_major_version&gt;.&lt;jdk_minor_version&gt;.&lt;jdk_micro_version&gt;[_&lt;jdk_update_version&gt;][-&lt;milestone&gt;]</code></pre> The value appears in bold in the example version output below: <pre> java version "1.5.0_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07) BEA JRockit(R) (build dra-45238-20050523-2021-win-ia32, R25.2.0-28)</pre> For more information on java.version, please refer to: <a href="http://java.sun.com/j2se/versioning_naming.html" rel="nofollow noreferrer">http://java.sun.com/j2se/versioning_naming.html</a></p></li> <li><p><a href="http://edocs.bea.com/jrockit/jrdocs/refman/sysProp.html#wp999146" rel="nofollow noreferrer">java.vm.version</a> - This property identifies the JVM implementation version. The version ID appear on the third line of java -version output. This ID is the main method to distinguish between JRockit JVM versions. Below are examples from a few different releases of the JRockit JVM</p> <ul> <li>JRockit JVM R24.5.0: ari-49095-20050826-1856-win-ia32</li> <li>JRockit JVM 5.0 SP2: dra-45238-20050523-2021-win-ia32</li> <li>JRockit JVM R26.4.0: R26.4.0-63-63688-1.5.0_06-20060626-2259-win-ia32</li> <li>JRockit JVM R27.3.1: R27.3.1-1-85830-1.6.0_01-20070716-1248-windows-ia32</li> </ul></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload