Declarative RMI

F.A.Q.

Declarative RMI FAQ

This FAQ contains a list of common problems you may encounter when trying to use Declarative RMI.

Why do I get a runtime error when trying to launch the tutorial server?

This is likely because you are trying to run the tutorial with drmi.jar on the classpath rather than extracting it. The current release of the DRMI library is contained in a root package named "adaptive". Likewise, generated code (interfaces and proxies) is also contained in the adaptive package. By extracting the jar first, before running the application, the library and the generated code will both be in the same location and will be easier for the runtime to find.