I have a problem using java rmi:
When I\'m trying to run my server, I get a connectException (see below).
Exception happens when executing the rebind method:
It seems to work when I replace the
Runtime.getRuntime().exec("rmiregistry 2020");
by
LocateRegistry.createRegistry(2020);
anyone an idea why? What's the difference?