how to run a jar file with commands code example Example: run jar file command line java -jar <jar-file-name>.jar