Following is true for Red Hat Linux 7.0.
After starting the rmiregistry, execute the following command from command line
ps -ef | grep
java You should list of processes that are similar to
/usr/java/jdk1.3/bin/i386/native.
Kill the first of these processes and that should kill your rmiregistry.
CAUTION:If you have any other java process like client and/or server running, then you need to stop these processes before you run the 'ps' command.