createing jar file by command line code example Example: compile jar file command jar cvf example.jar *