Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5022389

"java -version" should mention that the VM is made by Sun

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2
    • tools
    • x86
    • linux



      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)
      ======================================================================

            ksrini Kumar Srinivasan
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: