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.
Yes, my master! Here is the tiny ad you asked for: