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