how to open jar file in windows 10 command prompt code example Example: open jar file with command prompt For Linux: java -jar <filename>.jar