The jar command also enables individual entries in a file to be signed so that their origin can be authenticated. The jar command also compresses files, which further improves download time. This dramatically improves download times. When modules or the components of an application (files, images and sounds) are combined into a single archive, they can be downloaded by a Java agent (such as a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. Other arguments are either options that modify the behavior of the operation or are required to perform the operation. It has several main operation modes, defined by one of the mandatory operation arguments. ![]() The syntax for the jar command resembles the syntax for the tar command. For transportation and deployment, it's usually more convenient to package modules as modular JARs. Initially, the jar command was designed to package Java applets (not supported since JDK 11) or applications however, beginning with JDK 9, users can use the jar command to create modular JARs. The jar command is a general-purpose archiving and compression tool, based on the ZIP and ZLIB compression formats. Jar - create an archive for classes and resources, and manipulate or restore individual classes or resources from an archive Synopsis
0 Comments
Leave a Reply. |