Weijun Wang wrote:
I normally use
if [ "${TESTJAVA}" = "" ] ; then
JAVAC_CMD=`which javac`
TESTJAVA=`dirname $JAVAC_CMD`/..
fi
to find out the default JDK. Is this OK?
Seems reasonable to me. -Alan.
Weijun Wang wrote:
I normally use
if [ "${TESTJAVA}" = "" ] ; then
JAVAC_CMD=`which javac`
TESTJAVA=`dirname $JAVAC_CMD`/..
fi
to find out the default JDK. Is this OK?
Seems reasonable to me. -Alan.