To run the RMI distributed mutex demonstration program: download all files to both client and server (create separate folders) Say for sake of example, server ip address = 10.1.0.3 on server: javac *.java rmic dmuteximpl.java // this creates a "Stub" file for remote transport rmiregistry & // starts rmi registry on default port java dmuteximpl // starts server on client: javac *.java rmic dmuteximpl.java //(you can also just sftp over the *Stub.class file) java dmclient client1 10.1.0.3 & // start a client java dmclient client2 10.1.0.3 & // start another client clients can also be run on different machines. To quit, type "jobs" to view current jobs, then kill -9 %n, where n is the job number. The rmiregistry process does not need to be restarted if you rerun the experiment.