[ https://jira.codehaus.org/browse/MNG-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314362#comment-314362 ]
Stuart McCulloch commented on MNG-5376: --------------------------------------- FYI, this change results in some oddities on OSX 10.6.8 because /System/Library/Java/JavaVirtualMachines/CurrentJDK (used in the new script) does not exist whereas /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK (used in the old script) does: {code} readlink: illegal option -- f usage: readlink [-n] [file ...] Warning: JAVA_HOME environment variable is not set. [INFO] Scanning for projects... ...etc... {code} Suggest both locations should be checked for the sake of backwards compatibility. > Account for changes between the Apple and Oracle JDKs on OSX > ------------------------------------------------------------ > > Key: MNG-5376 > URL: https://jira.codehaus.org/browse/MNG-5376 > Project: Maven 2 & 3 > Issue Type: Task > Reporter: Jason van Zyl > Assignee: Jason van Zyl > Fix For: 3.1.0 > > > With the arrival of Java 7 on OSX the directory locations and naming has > changed. Some changes need to be made in the launch scripts to account for > the changes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira