Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.2.3
-
None
-
None
-
OS X
Description
There's a bug in the mvn launcher in JVM auto-detection. And here's the fix:
diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn index c1442ec..31a5eb3 100755 --- a/apache-maven/src/bin/mvn +++ b/apache-maven/src/bin/mvn @@ -83,7 +83,7 @@ case "`uname`" in # # Apple JDKs # - export JAVA_HOME=/usr/libexec/java_home + export JAVA_HOME=`/usr/libexec/java_home` fi ;; esac
Attachments
Issue Links
- duplicates
-
MNG-5686 mvn cannot execute /usr/libexec/java_home/bin/java on OS X.
- Closed