1 comment
Comment actions Permalink

Nick Pratt wrote:

Under the "Build Jar" option, there is a field for specifying the main class.
I assumed that specifying this would make a manifest file which would allow me to double click my JAR file under Windows and have the main class run. This doesnt work (class not found)

Should this work (because I cant seem to get it to work with the latest EAP)?

The produced JAR contains:


The manifest file contains:

Manifest-Version: 1.0
Created-By: IntelliJ IDEA
Main-Class: com.test.Main

The jar/manifest looks fine... which class is not found? Could it be
that your main class is relying on another class which you haven't
included in the jar?



Please sign in to leave a comment.