Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

classpath of rmiregistry must be empty?!?! Why

843793Aug 1 2008 — edited Aug 3 2008
I 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 ????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2008
Added on Aug 1 2008
1 comment
133 views