felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2377) info - Should output the exact JRE version used
Date Tue, 01 Jun 2010 08:52:35 GMT
info - Should output the exact JRE version used

                 Key: FELIX-2377
                 URL: https://issues.apache.org/jira/browse/FELIX-2377
             Project: Felix
          Issue Type: Improvement
          Components: Karaf
    Affects Versions: karaf 1.6.0
            Reporter: Claus Ibsen

When using info in the osgi shell you get some great details about the runtime.

However the JVM does not output which exact JRE version is being in used. Or at least that
build number is not easy to identify if its JDK 1.6.0_17 or 1.6.0_20 etc.
karaf@root> info
  Karaf home                  /Users/davsclaus/Downloads/apache-felix-karaf-1.6.0
  Karaf base                  /Users/davsclaus/Downloads/apache-felix-karaf-1.6.0
  OSGi Framework              org.apache.felix.framework - 2.0.5

  Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM version 14.3-b01-101
  Vendor                      Apple Inc.
  Uptime                      3 minutes
  Total compile time          8.703 seconds
  Live threads                33
  Daemon threads              26
  Peak                        36
  Total started               75
  Current heap size           67,221 kbytes
  Maximum heap size           466,048 kbytes
  Committed heap size         146,176 kbytes
  Pending objects             0
  Garbage collector           Name = 'PS Scavenge', Collections = 9, Time = 0.132 seconds
  Garbage collector           Name = 'PS MarkSweep', Collections = 1, Time = 0.073 seconds
  Current classes loaded      3,760
  Total classes loaded        3,761
  Total classes unloaded      1
Operating system
  Name                        Mac OS X version 10.6.3
  Architecture                x86_64
  Processors                  2

So if you under JVM have also listed
  Java version          1.6.0_17

Just as you see when using java -version from the cmd line

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message