How to share classes between server and client
Hi, everyone, I am new to RMI and I got some problems,
I can't get the client to download classes from the server. I have already set the codebase on the server by doing this(I am working on windows xp)
java -Djava.rmi.server.codebase=file:/e:/some/directory/
-Djava.rmi.server.hostname=myIP
If I provide the classes to the client, it works fine. But if I remove the supporting classes, such as the stub class, it throws a NoClassDefFoundError. I can't get it to download from the server.
Can anyone help me?
Thank you

