The reason for this exception - your program is using Naming.lookup("name"), and there is nothing bound in the rmi registry using that name.
How to fix it - 2 ways - if you are using the same name the server is actually using, then bind the server in the registry before looking it up If you are using a different name than the server is using (watch out for misspellings!) then use the same name
Write once, run anywhere, because there's nowhere to hide! - /. A.C.