Java Beans Using& Creating
Java Beans Using& Creating
iii. Search and implement creating a jar file from java package.
• The jar utility program is run from the command line (DOS
prompt).
• Here is how to create a compressed JAR file:
cd C:\Program Files\Java\jdk1.6.0_14\bin
jar cf archive_name.jar files.
• Files : Names of all the files you want to put in the jar file.
• CF: create a new archive with the file name specified.
• You will find your jar file at
C:\Program Files\Java\jdk1.6.0_14\bin\ archive_name.jar.