command to run jar from command line with specific java version code example Example: run jar file command line java -jar <jar-file-name>.jar