This is the Maven shaded plugin I'm using in my pom.xml:
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
         <version>3.2.4</version>
          <executions>
               <execution>
                 <goals>
                   <goal>shade</goal>
                </goals>
                 <configuration>
                     <shadedArtifactAttached>true</shadedArtifactAttached>
                     <transformers>
      <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                          <mainClass>com.myApp.Main</mainClass>
                        </transformer>
                 </transformers>
              </configuration>
          </execution>
     </executions>
</plugin>
It loads absolutely fine from the terminal with java -jar myApp so I have no idea why it doesn't work when simply double clicking. The error message from the finder I get with double clicking is:
The Java JAR File "myApp-1.0-SNAPSHOT-shaded.jar" could not be launched
I've created several different apps all with the exact same issue; they run ok as a shaded jar in terminal but fail to launch on a double click so I don't think it's anything unique to any particular app.
EDIT: I'm on Macos and also I have no problem launching any other jars with double click, only these specific jars I created myself with Maven shade.
 
    