run jar in browser code example
Example 1: run jar file command line
java -jar <jar-file-name>.jar
Example 2: how to run jar from command line
#Run jar from cmd
java -jar <jar-file-name>.jar
#Run spring boot app
mvn spring-boot:run
java -jar <jar-file-name>.jar
#Run jar from cmd
java -jar <jar-file-name>.jar
#Run spring boot app
mvn spring-boot:run