Omaha #3245 remove -vm argument

Change-Id: Ic4170cc85683121845013380fb2780b922e5fc13

Former-commit-id: 02372893b6 [formerly 123b22d90a] [formerly 02372893b6 [formerly 123b22d90a] [formerly d60d2b5caf [formerly 003c2d49ecc20cfae2cdefb14119e7d0b143e4c6]]]
Former-commit-id: d60d2b5caf
Former-commit-id: 98e2cb8d62 [formerly ef20c3192e]
Former-commit-id: 7af79aca86
This commit is contained in:
Nate Jensen 2014-06-19 14:44:24 -05:00
parent 1d44a9f517
commit cc90e21628

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
) &