Rather than giving you the answer straight up, I'll assume you want to do this from the command line. So type jar at the command line and you will get a screen of usage information for this command plus a couple of examples as well. Try it and see how you go.
Regards, JD
This looks like a job for .... legal tender! It says so right in this tiny ad:
a bit of art, as a gift, that will fit in a stocking