C change to the specified directory and include the following file ![]() i generate index information for the specified jar files M do not create a manifest file for the entries P preserve leading '/' (absolute path) and "." (parent directory) components from file names e specify application entry point for stand-alone application bundled into an executable jar file n perform Pack200 normalization after creating a new archive m include manifest information from specified manifest file v generate verbose output on standard output x extract named (or all) files from archive Java provides jar command to work with jar files if you execute it in the command prompt you will get the execution syntax and options of this command as shown below − C:\>jar ![]() If you have any library in this format to use it In your application either you need to place it in the current (or, lib) folder of the project or, you need to set the class path for that particular JAR file. All the predefined libraries are available in this format. ![]() This file format is used to distribute application software and libraries in Java. class files, images, text files, libraries that are required to execute the application or, library. For packaging of class files Java provides a file format known as JAR (Java Archive).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |