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