Set your class path to include the following directories. (This is how it is
done in bash - remove line breaks). The last path "yourexercisepath/"
is where you have stored the jini-exercise files (labelled $(curdir) in the
tutorial).
CLASSPATH=
/user/alsted/jini/jini2_1/lib/jini-core.jar:
/user/alsted/jini/jini2_1/lib/jini-ext.jar:
/user/yourexercisepath/:.
If you work on a PC without access to the above directory fetch and install jini in your own local directory (use exactly this version; a newer on exists but does apparently not work), and set the classpath accordingly https://starterkit.dev.java.net/downloads/jini/2.1/index.html
To compile use: javac examples/jini/*.java
(Ignore compiler complaints - depends on java version)
As described in the tutorial, if you run the miregistry at port 50001 then the
scripts ( runserver.sh etc) must be run with the same port 50001.