Questions and Exercises: JAR (The Java™ Tutorials Deployment (original) (raw)

Trail: Deployment
Lesson: Packaging Programs in JAR Files

The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
See Dev.java for updated tutorials taking advantage of the latest releases.
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.

Questions

  1. How do you invoke an applet that is packaged as a JAR file?
  2. What is the purpose of the -e option in a jar command?
  3. What is the significance of the manifest in a JAR file?
  4. How do you modify a JAR's manifest file?

Check your answers.