#!/bin/sh

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

#
# Run the registry
#
if [ -f `dirname $0`/java ]
then
  `dirname $0`/java $RUNTIME_ARGS sun.rmi.registry.RegistryImpl $APP_ARGS
else
  `dirname $0`/jre $RUNTIME_ARGS sun.rmi.registry.RegistryImpl $APP_ARGS
fi

