1. Compile all java files with command javac *.java.
2. Compile RMI with command rmic ChatImpl. 3. Run rmiregistry. 4. Run java ChatServer port. 5. Run java RMIClient serverAddress portServer. Keterangan : - port = port for chatting - serverAddress = server address for chatting