Commits

Juha Komulainen  committed 7d9214a

Use Java 1.7 by default.

  • Participants
  • Parent commits e59aedc

Comments (0)

Files changed (1)

 
 # Locate Java on OS X
 if [ -f /usr/libexec/java_home ]; then
-    export JAVA_HOME=$(/usr/libexec/java_home)
+    export JAVA_HOME=$(/usr/libexec/java_home --version 1.7)
 fi
 
 export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"