3

I've recently finished my project and now I would like to build the artifact for it. During the process I've followed the guide provided by jetbrains which can be found here:

https://blog.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/

I've done everything step by step as the guide says but when I run the actual jar file it doesn't do anything.

Could any of you help me identify the problem please?

-

The manifest was generated by the IDE automatically and has inside the following content:

Manifest-Version: 1.0
Main-Class: application.Main

This is how the jar file looks like inside: enter image description here

Also I would like to mention that no errors occurred during building the artifact.

Terchila Marian
  • 2,225
  • 3
  • 25
  • 48
  • How do you run it? Any errors you get? Did you create manifest file with the main class to run? [Here](https://stackoverflow.com/a/5258323/2000323) is how you can first try to create a simple jar and run it. – Andrey May 24 '19 at 16:19
  • 1
    I've updated the question @GhostCat – Terchila Marian May 24 '19 at 16:28
  • 2 years and 11 months later I am suffering from the same fate and have no clue what is wrong. Navigating to the folder where my main class is and running `java -cp main" (I have a Scala 3 project) works fine, however. – bugfoot May 09 '22 at 05:14

0 Answers0