I am facing a problem with RMI. I developed code for the interface, server and client. Nothing problem it is working fine. But when I create a jar file and trying to run my server. For my surprise I am unable to run the server. The JVM is throwing ClassNotFoundException. I don't what happened. Can someone help me in creating a jar file and invoking my rmi server from the jar file.