open .jar file with cmd code example Example: open jar file with command prompt For Linux: java -jar <filename>.jar