Why do I continue to get ClassNotFoundException on server stub class?

Sehner Ralf

I had the same problem. The solution was to use the parameter -Dxxx like in the following call:

java -classpath=.. -Djava.rmi.server.codebase=file://<IP>/<Drive-Letter>:/<Path to the root directory of your packages>/ <Class with main>
Do not forget to use the trailing '/'.
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.