activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6338) Java Vendor at startup always displays "Oracle Corporation"
Date Mon, 27 Jun 2016 18:56:52 GMT

    [ https://issues.apache.org/jira/browse/AMQ-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351608#comment-15351608
] 

Timothy Bish commented on AMQ-6338:
-----------------------------------

That is an activation property, and doesn't set anything in the environment.  There's nothing
in the distribution to my knowledge that sets / overrides this property.

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

Mime
View raw message