You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Stefan Sels (JIRA)" <ji...@apache.org> on 2016/06/27 07:48:52 UTC

[jira] [Created] (AMQ-6338) Java Vendor at startup always displays "Oracle Corporation"

Stefan Sels created AMQ-6338:
--------------------------------

             Summary: Java Vendor at startup always displays "Oracle Corporation"
                 Key: AMQ-6338
                 URL: https://issues.apache.org/jira/browse/AMQ-6338
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.13.3, 5.14.0
         Environment: openjdk version "1.8.0_92-internal"
OpenJDK Runtime Environment (build 1.8.0_92-internal-alpine-r1-b14)
OpenJDK 64-Bit Server VM (build 25.92-b14, mixed mode)
            Reporter: Stefan Sels
            Priority: Minor


When I startup activemq with openjdk, it shows
{code}
Java Runtime: Oracle Corporation 1.8.0_92-internal /usr/lib/jvm/java-1.8-openjdk/jre
{code}
but there is no oracle java in this environment. Also notice that the path points to the right vendor/path "java-1.8-openjdk". I traced that output down to:
activemq-console/src/main/java/org/apache/activemq/console/Main.java
{code}
buffer.append(System.getProperty("java.vendor"));
{code}

If my limited maven/java skills are right, it grabs the version from 
activemq-openwire-generator/pom.xml:58
{code}
        <property>
          <name>java.vendor</name>
          <value>Oracle Corporation</value>
        </property>
{code}

That would be a rather static setup. It is irritating to show a wrong vendor, could you please make this more dynamic to reflect the jvm/jre vendor?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)