How to JAR Files:
jar cvf helloworld.jar HelloWorld.class
jar cvf university.jar University.class Professor.class
Student.class Secretary.class
note: University.class is the main class. The
first class you specify have to be the main class
<applet code=HelloWorld.class archive="helloworld.jar"
width=350 height=175></applet>
<applet code=University.class archive="university.jar"
width=575 height=325></applet>
jre -cp helloworld.jar HelloWorld
jre -cp university.jar University
java -jar helloworld.jar
java -jar university.jar
note: The -jar option is not available for
interpreters prior to version 1.2 of the Java Development Kit