classpath of rmiregistry must be empty?!?! Why
843793Aug 1 2008 — edited Aug 3 2008I read on http://java.sun.com/docs/books/tutorial/rmi/running.html the following:
Before you execute rmiregistry, you must make sure that the shell or window in which you will run rmiregistry either has no CLASSPATH environment variable set or has a CLASSPATH environment variable that does not include the path to any classes that you want downloaded to clients of your remote objects.
However, now I remarked that this is the case with my system. In the classpath of our shell where the rmiregistry gets started, we have the classpath set to the location of the classes that get downloaded to the client.
Everything works fine, so I'm surprised to read the paragraph above.
What are the implications of this ????