how to run spring java application code example Example: run spring boot application command line java -jar target/myJavaProject.jar