jdk/test/tools/launcher/MultipleJRE.sh
changeset 15254 3997a6f357cb
parent 14786 a9f61e0cbe61
child 17933 b18cda672b79
--- a/jdk/test/tools/launcher/MultipleJRE.sh	Fri Jan 11 12:27:57 2013 +0000
+++ b/jdk/test/tools/launcher/MultipleJRE.sh	Fri Jan 11 20:19:55 2013 +0000
@@ -37,6 +37,10 @@
   exit 1
 fi
 
+if [ "${COMPILEJAVA}" = "" ]; then
+  COMPILEJAVA="${TESTJAVA}"
+fi
+
 if [ "${TESTSRC}" = "" ]
 then
   echo "TESTSRC not set.  Test cannot execute.  Failed."
@@ -51,7 +55,7 @@
 
 JAVAEXE="$TESTJAVA/bin/java ${TESTVMOPTS}"
 JAVA="$TESTJAVA/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES"
-JAR="$TESTJAVA/bin/jar"
+JAR="$COMPILEJAVA/bin/jar ${TESTTOOLVMOPTS}"
 OS=`uname -s`;
 
 #