Java Package - Creation of JAR Files

Creation of JAR Files

JAR Files are created with the jar command-line utility. The command

jar cf myPackage.jar *.class

compresses all .class files into the JAR file myPackage.jar. The ' c ' option on the command line tells the jar command to "create new archive." The ' f ' option tells it to create a file. The file's name comes next before the contents of the JAR file.

Read more about this topic:  Java Package

Famous quotes containing the words creation of, creation, jar and/or files:

    The creation of a thousand forests is in one acorn, and Egypt, Greece, Rome, Gaul, Britain, America, lie folded in the first man.
    Ralph Waldo Emerson (1803–1882)

    The human spirit is itself the most wonderful fairy tale that can possibly be. What a magnificent world lies enclosed within our bosoms! No solar orbit hems it in, the inexhaustible wealth of the total visible creation is outweighed by its riches!
    —E.T.A.W. (Ernst Theodor Amadeus Wilhelm)

    Drink your fill when the jar is first opened, and when it is nearly done, but be sparing when it is half-empty; it’s a poor saving when you come to the dregs.
    Hesiod (c. 8th century B.C.)

    Here files of pins extend their shining rows,
    Puffs, powders, patches, bibles, billet-doux.
    Alexander Pope (1688–1744)