Java Archive (JAR): Building Java Archives

Java JDK 9+
  • 12 Videos | 1h 39m 47s
  • Includes Assessment
  • Earns a Badge
Java Archives (JARs) wrap a Java application into a single archive file for deployment, distribution, and execution. Use this course to acquaint yourself with building Java archives or JAR files using the JAR utility, run from the command line. Over the length of the course, you'll outline how a simple Java project packaged into a JAR file can be executed directly, different attributes of a JAR manifest can affect the use of a JAR file, and a project with external dependencies can be packaged into an executable JAR. Upon completion of this course, you'll be able to build different Java archives: JAR with multiple main classes, JAR containing several packages, and JAR that is not directly executable by itself but usable as a dependency in other projects.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    use an integrated development environment (IDE) to create the main class for a Java project
    create and execute a basic Java archive using a manifest file
    extract and recognize the contents of a Java archive (JAR)
    outline the automatic generation of manifests and the fields contained in them
    edit and specify the data stored inside the manifest file of a JAR
  • build a Java application with a dependency on an external library
    reference and use external dependencies in your JAR
    construct a JAR file with multiple main classes and run each of them
    create JAR files with multiple packages to store related code
    use non-executable JAR files as libraries in other projects
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 28s
    UP NEXT
  • Playable
    2. 
    Creating the Contents of a JAR File
    12m 44s
  • Locked
    3. 
    Building and Running an Executable JAR
    11m 16s
  • Locked
    4. 
    Viewing the Contents of a JAR File
    7m 50s
  • Locked
    5. 
    Creating a JAR without an Input Manifest
    8m 10s
  • Locked
    6. 
    Defining a Detailed Manifest File
    7m 30s
  • Locked
    7. 
    Adding Dependencies to a Project
    10m 27s
  • Locked
    8. 
    Building a JAR File with Dependencies
    10m 58s
  • Locked
    9. 
    Constructing JAR Files with Multiple Main Classes
    9m 54s
  • Locked
    10. 
    Creating JARs with Multiple Packages
    7m 28s
  • Locked
    11. 
    Using JAR Files as an External Library
    8m 22s
  • Locked
    12. 
    Course Summary
    2m 40s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.