Nick Davies wrote:
> 
> Mornin'(or whatever) all
> 
> I'm currently playing around with RMI applications on Linux.  I get a very
> strange error in that when I try to run the application on a Linux I get the
> message 'Cannot find class xxx'.  Other classes in the same directory run
> fine, name alterations have been tried and failed.  The application was
> written and compiled under WinNT(I know, there's no need to tell me), but so
> were the working classes.  Any ideas?

Is the class that cannot be found your Stub class?  If  so, I've
found that occasionally if I forgot to put the directoy for my
classes in the CLASSPATH and tried to run the server it would
fail.  I would then have to restart the rmiregistry for it to
work.  Just putting the things in my CLASSPATH w/o the restart
wouldn't work.

Which classes can't be found client, server, Stubs?

jason

-- 
Jason Gilbert | http://www.scott.net/~jason/
              | http://www.homewood.net
------------------------------------------------------
I wish I could make the garbage collector thread in my
brain less agressive.

Reply via email to