# cd into the directory that contains your project jar cvfe <output jar filename>.jar <main class location> *
jar cvf jar_name.jar class_you_want_in_jar.class
jar cvf example.jar *