> > 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?

Correct me if I'm wrong, but only the _Skel class should need to be present
in the rmi server directory (I've tried moving the _Stub class in there as
well, no difference

>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
>
> --
It's the server class which cannot be found, however, further investigation
(running java -v on the class gives a line [Loaded ./RemL.class], the main
server class....very strange

****************************************
now the giraffe if you stand on a stool,
but the hedgehog can hardly ever....

Nanny Ogg 
****************************************

Reply via email to