I am getting no main manifest attribute while running the jar create by Intellij. I extracted the jar and observed that there was another manifest
no main manifest attribute
Under File / Project structure / Artifacts you can specify how your jar is to be built. You can chose either to use an existing file as your manifest, or create a new one, in which case you specify main class and class path...
File
Project structure
Artifacts