run a jar file as a cmd command code example Example: run jar file command line java -jar <jar-file-name>.jar