Step 0. Compile the source files using javac: javac *.java Note that the rmic tool is not needed for versions 1.5 and beyond. The stubs are created dynamically. Step 1. In one command shell, clear the CLASSPATH and run the rmiregistry using port 49160: rmiregistry 49160 Step 2. In a second command shell, run the server: java ServerDriver It uses port 49160 by default. Step 3. In other command shells, run the client: java ClientDriver name localhost:49160