I am new with RMI. I have written an example, compiled
the classes and generated the stub and skelleton. I have
run the rmiregistry and then tried to launch the server.
This fails because the stub class cann't be found. I have
read the RMI FAQ and FAQ 27 seems to be what happen (CLASSPATH problem).
I run JDK1.1.4 and the path to the zip is:
The classes I wrote have for package training.rmi.date.
mi\date contains all the
classes (including the stub). So, when I issue
java -classpath .;c:\JDK1.1.4\lib\classes.
from c:\jdk1.1.4\lib, there should be, I guess, no problem.
Could you tell me what I have missed?
Thanks for your help.
Note: RMI FAQ: http://java.sun.com/products/jdk/rmi/faq.html