This post is all about learning how to create JAR files. After going through this, you will be able to easily create JAR files.
The basic JAR command syntax is as follows:
jar cf myjar input-file(s)
Let me explain the command;
- c option indicates that I want to create a JAR file
- f option indicates that I want the output to go to a file rather than to stdout
- myjar is the name that I want the JAR file to have. It can be