Building a JAR file from the interface classes

The first step is to compile the remote interface components and build a JAR file using it. Note that we have provided the commands for both Microsoft Windows and Solaris or Linux in the following sections:

  • For Microsoft Windows:
     cd C:DistributedComputingWorkspacesrc
javac C:DistributedComputingWorkspacesrc*.java
jar cvf calculate.jar
C:DistributedComputingWorkspaceclasses*.class
  • For Solaris OS or Linux:
    cd /home/distributedcomputing/workspace/src
javac /home/distributedcomputing/workspace/src/*.java
jar cvf calculate.jar
/home/distributedcomputing/workspace/classes/*.class
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset