List Classes in JAR File

	jar tf <jar-filename.jar>

Create a JAR

jar cvf YourJarName.jar -C src .

In this example, src is the base directory of the project. This is important when referencing the class later on.

For example, a project directory structure could be:

/src/com/projectname