0

I am attempting to run an plugin for the itellij ide, the plugin consists of a jar file. However the file cannot open on my mac as it generates message "app could not be launched". Further reference to the console revealed the problem lay in "no main manifest attribute, in "app.jar"".

This question: Can't execute jar- file: "no main manifest attribute" is very similar. The solution asked to specify the MAIN-CLASS so I searched for a main in entire JAR and found nothing, which led me to come here and ask. Is there a certain line I need to add to the manifest file or path to set? Does Intellij not need a main-class line to be specified? Have linked the image below. Thanks!!!

plugin's manifest file

Community
  • 1
  • 1
jamarcus_13
  • 55
  • 2
  • 10
  • IntelliJ IDEA plugins are loaded by the IDE when placed into the [plugins directory](https://intellij-support.jetbrains.com/hc/articles/206544519). They are not supposed to be run as Java applications (via `java -jar …`). – CrazyCoder Mar 22 '17 at 05:25
  • Ok will try placing into directory – jamarcus_13 Mar 22 '17 at 16:13

0 Answers0