The essential command for creating a Jar file is:
Code:
jar cf jar-name of the file input-files
The c option shows that that you desire to create a jar and the f option shows that output must be sent to a file, then there is a the actual file that will be resulting Jar file that you want to create and input-files are the all the types of files you want to include in that particular jar file. But there was also something about a file a called manifest file being created, I had heard that this is actually the first file in any JAR file and through which the it is being recognized , but I am not actually sure about that so I am not commenting much in this manifest files .
Bookmarks