For the Developer's exam, I have been doing experiments with the rmi property: rmi.server.codebase.
It does not seem to be working. I did the following steps:
1.All the necessary classes including the stubs, skeletons and interface are in a directory called C:\RMI\classes.
2.At the MS-DOS command prompt I start the rmiregistry.
3.Then in another MS-DOS window I went to the root directory (C:\>
and type in the line as below:
C:\>
java -Djava.rmi.server.codebase=file:/C:\RMI\classes WeatherServer
Where WeatherServer is the name of the program that implements the interface.
It does not work. I kept getting the message �NoClassDefFoundError�
Can anybody shed some light on it?