#!/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 stub compiler
#
`dirname $0`/java$progsuffix $RUNTIME_ARGS sun.rmi.rmic.Main $APP_ARGS
