You will need to tell the jar team where to find the class files and resource files and any additional information that you would like to have in the manifest file. Information on using the jar command can be found here .
The -cvf command accepts this format.
jar c[v0M]f jarfile [-C dir] inputfiles [-Joption]
source share