how to create jar file for a folder code example Example: compile jar file command jar cvf example.jar *