#!/bin/sh

BINDIR="$0"
BINDIR=`type -path $BINDIR` >/dev/null 2>&1
BINDIR=${BINDIR%/*}

#
# source a script that extracts RUNTIME_ARGS and APP_ARGS
#
. $BINDIR/.extract_args

#
# Run the registry
#
$BINDIR/java $RUNTIME_ARGS sun.rmi.registry.RegistryImpl $APP_ARGS
