In the tutorial I found out that jar files can be created in the following way:
jar cf jar-file input-file(s)
However, it was not clear wha
regarding your external dependencies, this will NOT work unless you compile in the dependencies as .class files, or use something like FatJar http://fjep.sourceforge.net/ to add them into one big jar.