Stefano Bertini created MNG-5692:
------------------------------------

             Summary: Bad JDK autodetection if a Mac has both Apple and Oracle 
JDK
                 Key: MNG-5692
                 URL: https://jira.codehaus.org/browse/MNG-5692
             Project: Maven
          Issue Type: Bug
          Components: Command Line
    Affects Versions: 3.2.3
         Environment: MacOs 10.9.4
            Reporter: Stefano Bertini
            Priority: Minor


In mvn shell script, the detection order of JDK versions should be inverted.

Currently the scripts searches first for Apple JDK's and then for Oracle's, as 
reported in a comment inside the file:
??Look for the Apple JDKs first to preserve the existing behaviour, and then 
look for the new JDKs provided by Oracle.??

The problem is that Apple stopped releasing JDK's at version 1.6, so, at the 
moment, the script can only detect the latest Apple version but not an Oracle 
1.8.x.

I think that now the verification order should be inverted.

Thanks



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to