how to generate jar from command line code example Example: compile jar file command jar cvf example.jar *