You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Barry (JIRA)" <ji...@apache.org> on 2019/01/29 15:25:00 UTC

[jira] [Created] (MNG-6582) Maven report wrong jdk vendor

Patrick Barry created MNG-6582:
----------------------------------

             Summary: Maven report wrong jdk vendor 
                 Key: MNG-6582
                 URL: https://issues.apache.org/jira/browse/MNG-6582
             Project: Maven
          Issue Type: Bug
    Affects Versions: 3.6.0, 3.5.4
            Reporter: Patrick Barry


I am using OpenJDK and when I perform mvn -version, it says Oracle is the vendor.

```

mvn -version 
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00) Maven home: /usr/local/Cellar/maven/3.5.4/libexec Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"

```

If you were to print the java version straight from the java install path:

```

/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/java -version 
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

```

I updated to the latest install of Maven, and the problem exists there as well.  Testing done on a Mac.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)