#!/bin/sh

#
# source a script that extracts RUNTIME_ARGS and APP_ARGS
#
. `dirname $0`/.extract_args

if [ -n "$NS_JAVA" ]
then
    progsuffix=_ns
elif [ -n "$DYN_JAVA" ]
then
    progsuffix=_dyn
fi

#
# Run the archive tool
#
`dirname $0`/java$progsuffix -ms8m $RUNTIME_ARGS sun.tools.jar.Main $APP_ARGS
