Re: Strange problem

Eric&Lisa Blische <[email protected]> Sat, 11 Nov 2006 19:54:58 -0500
Newsgroups gmane.comp.java.sun.rmi
Message-ID <000c01c705f5$2dbff630$6401a8c0@D53HT441>
Hello Georges,

Here's what fixed my issue.

Before I started the rmiregistry, I found it necessary to set the
environment
variable (is that the right terminology?) for CLASSPATH.

On my Windows XP Laptop, now, I start a new DOS window.
Then in it, I enter...

>  set CLASSPATH=distribution

because the classes I generated both by javac and rmic reside there.

Then I

>  start rmiregistry

I had a problem similar to yours, as the "Hello World" tutorial did not
state the CLASSPATH has to be set in order to run the registry. Evidentally
it needs to know where your classes reside.

And thanks to the three of you who kindly responded to my problem !

Hope this helps,

Eric

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html