convert project to jar cmd code example
Example 1: java to jar
# cd into the directory that contains your project
jar cvfe
Example 2: create a JAR file containing the class file
jar cvf jar_name.jar class_you_want_in_jar.class
# cd into the directory that contains your project
jar cvfe
jar cvf jar_name.jar class_you_want_in_jar.class