summaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-osx-x64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/tests-osx-x64.sh')
-rwxr-xr-xmake/scripts/tests-osx-x64.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/scripts/tests-osx-x64.sh b/make/scripts/tests-osx-x64.sh
index fe2d2c4ec..e1b07202b 100755
--- a/make/scripts/tests-osx-x64.sh
+++ b/make/scripts/tests-osx-x64.sh
@@ -2,11 +2,11 @@
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
-JAVA_HOME=`/usr/libexec/java_home -version 1.6`
+JAVA_HOME=`/usr/libexec/java_home -version 1.7`
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME PATH
spath=`dirname $0`
-. $spath/tests.sh /usr/bin/java -d64 ../build-macosx $*
+. $spath/tests.sh $JAVA_HOME/bin/java -d64 ../build-macosx $*