how to install jar in MAC in cmd code example Example: how to run jar file mac java -jar <filename>.jar