Create a JAR file from a list of classes

Just a quick one for my reference.
To create a jar package from a list of Java classes, use the following command in terminal:

jar cf jarredfile.jar directory_to_jar

Marko