The nexusrmis script is a wrapper around the original javar compiler. This compiler has been augmented with a module which generates the traversal routines.
Nexusrmis will add the following methods from the "SerialObject" interface to classes that implement the "Serializable' interface:
public void serializeWrite(nexusrmi.Serialize SerObject)
public Object serializeRead(nexusrmi.Serialize SerObject)
Javas will search for the class files of all classes directly or indirectly referenced by the remote class. Currently, it cannot read from compressed/ archived class file repositories. To allow javas to access the system classes, it is advised that the class file repository that comes with the Java development tools is unpacked in a separate directory.
Javas uses the CLASSPATH variable to find the class files it needs. Make sure this variable is setup correctly. Because it is generally advised not to have the unpacked class files in the CLASSPATH, the nexusrmic shell script will include this location in the existing CLASSPATH temporarily. This means that you have to edit the nexusrmic script to specify the location of the unpacked system classes.