Run driver or class with main method. In my case, it was because IntelliJ was extracting all the dependencies into the output jar, which ended up overwriting the /META-INF/MANIFEST.MF file with something from one of my included dependencies.. File > Project Structure. The version of java used in the article was 1.8. Automatically created build artifact: Open File/Project structure; Create new artifact, JAR, from modules with dependencies: In Eclipse, you can "Export" your project with dependencies, and recieve an executable JAR, which allows the user to … The goal of this first part is to create an executable JAR file. Select Tab "Artifacts". A typical Spring boot project is a Maven project or a Gradle-Project (I only know how to do it with Maven, for Gradle see [luboskrnacs answer]).So you just need to run the maven targetpackageand pick the jar form the (created)target` folder. Opening up your comand line, let's start with creation of a simple project folder: executable-one. I was planning to create an executable JAR from a project, and was a bit surprised that this seems to be a problem in IntelliJ IDEA (I am using version 9.0.1). To make sure that the JAR artifact is created correctly, you can run it. To create executable JAR we need to create new artifact and build it. Create a run configuration for the packaged application. To run a Java application packaged in a JAR, IntelliJ IDEA allows you to create a dedicated run configuration. Use Find Action Ctrl+Shift+A to search for actions and settings across the entire IDE. mvn clean package cd target use a shell, go to the project root directory (where the pom.xml file is) and type. Build will save everything to the output folder. I had to open up the jar and copy in the real MANIFEST.MF from the location indicated in the "Manifest File" property that is automatically set in that artifacts page under Project Structure". Select "From modules with dependencies" How to create a .jar using IntelliJ IDEA 14.1.5: File > Save All. Create executable jar file intellij idea. Let's call it ExecutableOne.jar. How to build jars from IntelliJ properly?, from Add drop down menu. Click green plus button near top of window.