Build a JAR File of Interface Classes
UNIX:
$ cd $HOME/RmiEx1.2
$ javac compute/Compute.java
$ javac compute/Task.java
$ jar cvf compute.jar compute/*.class
added manifest
adding: compute/Compute.class (in=263) (out=189) (deflated 28%)
adding: compute/Task.class (in=191) (out=157) (deflated 17%)
$ ls
client engine
compute java.policy
compute.jar web
$ ls compute
Compute.class Compute.java Task.class Task.java
$ exit
Win32:
> cd C:\$HOME\RmiEx1.2
> javac compute\Compute.java
> javac compute\Task.java
> jar cvf compute.jar compute\*.class