Compiling The HelloWorld RMI Example Change to directory containing the source code. javac *.java rmic HelloServer Running The HelloWorld RMI Example 1) Window #1 - RMI Registry Change to directory containing the code. rmiregistry 2) Window #2 - Server Change to directory containing the code. java -Djava.security.policy=policy.txt HelloServer 3) Window #3 - Client Change to directory containing the code. java -Djava.security.policy=policy.txt HelloClient