If you want to distribute a program, then prepare a manifest
file by instantiating the following pattern:
Main-Class: name of application-starting class
and then prepare a JAR file by instantiating the following pattern:
jar -cmf name of manifest filename of JAR file *.class
If your program contains resources, then include those resources in
your JAR file by instantiating the following pattern when you create
that JAR file:
jar -cmf manifest fileJAR file *.class resource file