i need to write a RMI client/server application that the server is running in a different process. when i am running my code in the same process everything is working fine, but when trying to run the server code in a new Process using
ProcessBuilder pb = new ProcessBuilder(
"java",
"-cp",
"bin",
"server.CodeboxServerImpl");
i am getting an unbound exception, thrown from the client.
i have started the rmiregestry, and in the code on both the client and the server i am using
Registry reg = LocateRegistry.getRegistry("localhost");.
am i missing something?