Home java Creating a Jar file in Gradle / CMD / Intellij Idea

Creating a Jar file in Gradle / CMD / Intellij Idea




Please tell me how to create in Intellij IDEA, or at the command line JAR file. I know that in II, you can do this in the Artifacts tab, however, with further start, it simply does not open. Perhaps there are some other utilities for this.

Answer 1, Authority 100%

Try to make it here
If the JAR file was created but not started (the black window appears and immediately disappears) try to create a BAT file in which to register
java -jar sdvig.jar, where sdvig name jar file.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions