Installing compressed JARs

You can also install a compressed JAR file if you first expand the compressed file using the x option of the jar command. In this UNIX example, abcPackage is a compressed file.

  1. Place the compressed JAR file in an empty directory and expand it:

    jar xf0 abcPackage.jar
    
  2. Delete the compressed JAR file so that it won’t be included in the new, uncompressed JAR file:

    rm abcPackage.jar
    
  3. Create the uncompressed JAR file:

    jar cf0 abcPackage.jar*