MY mENU


Wednesday 18 April 2012

JAR Files in java


1. JAR stands for “Java Archive”. The 1.1 JDK comes with a utility called ‘jar’ that creates JAR files. Example syntax: jar -cf Jungle.jar Panther.class Leopard.class
2. Directories are processed recursively
3. Can specify a JAR file in a Web page by adding ‘archive=”jars/Jungle.jar” ’ to the tag. E.g.
4. You can also define more than one JAR file in the archive value by listing them all within the quotes and separating their names with commas.

No comments:

Post a Comment