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, jar and/or files:

    The private detective of fiction is a fantastic creation who acts and speaks like a real man. He can be completely realistic in every sense but one, that one sense being that in life as we know it such a man would not be a private detective.
    Raymond Chandler (1888–1959)

    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.)

    The good husband finds method as efficient in the packing of fire-wood in a shed, or in the harvesting of fruits in the cellar, as in Peninsular campaigns or the files of the Department of State.
    Ralph Waldo Emerson (1803–1882)