The command line
java -jar file.jar
Will run your jar file if it has a Main-Class
defined as explained here.
You can use that command in a shell script.
The command line
java -jar file.jar
Will run your jar file if it has a Main-Class
defined as explained here.
You can use that command in a shell script.