Omaha #3245 remove -vm argument

Change-Id: Ic4170cc85683121845013380fb2780b922e5fc13

Former-commit-id: 003c2d49ecc20cfae2cdefb14119e7d0b143e4c6
This commit is contained in:
Nate Jensen 2014-06-19 14:44:24 -05:00
parent caf278ca5c
commit d60d2b5caf

View file

@ -233,9 +233,6 @@ curTime=`date +%Y%m%d_%H%M%S`
shift
done
# Eclipse recommends explicitly setting the JVM to use
ARCH_ARGS="-vm /awips2/java/bin/java"
lookupINI "${USER_ARGS[@]}"
if [[ "${runMonitorThreads}" == "true" ]] ; then
@ -244,9 +241,9 @@ curTime=`date +%Y%m%d_%H%M%S`
fi
if [[ "${redirect}" == "true" ]] ; then
exec ${CAVE_INSTALL}/cave ${ARCH_ARGS} ${SWITCHES} "${CAVE_INI_ARG}" "${USER_ARGS[@]}" > ${LOGFILE} 2>&1
exec ${CAVE_INSTALL}/cave ${SWITCHES} "${CAVE_INI_ARG}" "${USER_ARGS[@]}" > ${LOGFILE} 2>&1
else
exec ${CAVE_INSTALL}/cave ${ARCH_ARGS} ${SWITCHES} "${CAVE_INI_ARG}" "${USER_ARGS[@]}" 2>&1 | tee ${LOGFILE}
exec ${CAVE_INSTALL}/cave ${SWITCHES} "${CAVE_INI_ARG}" "${USER_ARGS[@]}" 2>&1 | tee ${LOGFILE}
fi
) &