How to export executable JAR from IntelliJ Project
Why Stack Overflow recommends it
Stack Overflow users link it as a quick visual walkthrough of IntelliJ's JAR artifact export, though several askers cite it while reporting that the resulting JAR still would not run.
Recommended by 2 people across 2 different months, 2019 to 2021.
What it is
A one-minute screen recording by the channel tigerking that shows how to export an executable JAR file from a Java project in IntelliJ IDEA. It is a quick click-through of the artifact build steps with no spoken depth.
What people said
Recommends Elke · 2020-06 · Stack Overflow · on “How to put a java project in an exe or jar?”
I want to put my java Project in a .jar or in an .exe. I can not find a solution for my problem. That is my project structure: project 1.1. pom.xml 1.2. .idea 1.2.1. libaries 1.2.1.1. many maven dependency files 1.3. .GUI 1.3.1. .idea 1.3.1.1. libaries 1.3.1.1.1. many maven dependency file 1.3.2. src 1.3.2.1. main 1.3.2.1.1. java 1.3.2.1.1.1. .java files 1.3.2.1.2. recources 1.3.2.1.2.1. .fxml files 1.3.2.1.2.2. CSSStylesheets 1.3.2.1.2.2. .css files I follow instructions on youtube for creating a .jar in Intellij ( [this video] ) but the .jar was not executable. It just print this Display parameters as parsed by Maven (in canonical form) and comparison result: to the console after running java -
Recommends Koyasha · 2021-01 · Stack Overflow · on “JDBC Driver for TigerGraph DB”
@Surya You can also build JARs using IntelliJ IDEA if you are not familiar with git & Maven (video guide #1 [LINK] , #2 [this video] )
Cites NegassaB · 2019-04 · Stack Overflow · on “How to create an executable jar file from Intellij IDEA?”
I'm trying to package up my project into an executable jar using the Intellij IDEA. I followed every step stated in this video guide video [this video] and it does create a jar file, but 1. It doesn't contain the necessary resources 2. The output jar file doesn't work, whenever I try to run it by java -jar Axeereraa.jar it outputs no main manifest attribute, Axeereraa.jar . So how do I make it work? I've tried googling and following the steps of this answer How to build jars from IntelliJ properly? [LINK] (and yes I've followed the steps in this solution but it still doesn't work) and I've also changed the place where the META-INF file stored at from src/main/java to src/main/resources but still