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.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/scripts/tests-osx-x64.sh b/make/scripts/tests-osx-x64.sh
index 748cf39a9..fe2d2c4ec 100755
--- a/make/scripts/tests-osx-x64.sh
+++ b/make/scripts/tests-osx-x64.sh
@@ -2,8 +2,11 @@
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
+JAVA_HOME=`/usr/libexec/java_home -version 1.6`
+PATH=$JAVA_HOME/bin:$PATH
+export JAVA_HOME PATH
+
spath=`dirname $0`
. $spath/tests.sh /usr/bin/java -d64 ../build-macosx $*
-