Roel De Nijs wrote:It's all about the directory structure in my opinion. So you have to execute from the correct current directory. If the directory "classes" is a child of directory "RMI-EXAMPLE-2" and you execute the java command from E, then the correct statement to start the server would be:
java -cp RMI-EXAMPLE-2/classes -Djava.rmi.server.codebase=http://localhost:8080/ core.java.book.chpt10.example.WarehouseServer
Anyhow when I try to start the WarehouseServer with correct classpath settings (with regard to the current directory) the program runs without exception.
Sean Keane wrote:This is crazy! Just to confirm I am not going mad.