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