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/28 07:27:57 UTC

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

     [ https://issues.apache.org/jira/browse/AMQ-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Sels resolved AMQ-6338.
------------------------------
    Resolution: Not A Problem

Not activemq fault. Even though being open source, Oracle Corporation is acutally the vendor, as Sun (now Oracle) started the project. Sorry, my mistake.

> 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.14.0, 5.13.3
>         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)