Once you have a JAR file, running a standalone application is straightforward. You are accustomed to typing the following to start an application from a class file:
java MovieApplicationTestor
To start an application from a JAR file, you type the following:
java -jar MovieApplication.jar
Note that, for the JAR version to work, you must have created the
JAR file using a manifest file, as explained in Segment 1066,
that identifies the MovieApplicationTestor
class as the
application-starting class.