Name: rmT116609 Date: 03/29/2004
A DESCRIPTION OF THE REQUEST :
Many of my systems have multiple JREs installed. I often check to see which one is enabled by typing "java -version" Here are the results for various VMs:
$ java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM build cxia321411-20030930 (JIT enabled: jitc))
$ java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)
$ java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
Often the item I'm looking for is which vm is installed (blackdown, ibm, sun) but whenever the sun vm is installed I do a double-take because there is no mention of "Sun" in the version message.
It would be nice if the version message mentioned "Sun" somewhere in the text.
JUSTIFICATION :
This enhancement would make it easier to tell which VM is active in a system.
(Incident Review ID: 245372)
======================================================================
- relates to
-
JDK-6452854 Provide a flag to print the java configuration
-
- Closed
-