![]() ![]() jar file, we can use the commands below listed: This manifest file is useful to specify the information about other files which are packaged. There can be only one manifest file in an archive, and it always has the pathname. jar files, it automatically receives the default manifest file. The third entry represents the sub-directory with the name pack and the last two represent the files name in the directory pack. The first two entries represent that there is a manifest file created and added to pack.jar. Here class1, class2, etc are the classes in the package pack. Now, the contents of pack.jar are displayed as follows: META-INF/ For example, to view the contents of our pack.jar file, we can give the command: C:/> jar tf pack.jar Here, tf represents the table view of file contents. In order to view a JAR file ‘.jar’ files, we can use the command as: For example, assuming our package pack is available in C:\directory, to convert it into a jar file into the pack.jar, we can give the command as: C:\> jar cf pack.jar pack jar file, we can use jar cf command in the following ways as discussed below: jar file and related commands which help us to work with. ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |