Closed orange451 closed 2 years ago
I am packaging the fat jar using:
<!-- FAT Jar (mvn clean package) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>dev.anarchy.Main</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
If you feel this is not relevant to your project, let me know! If that's the case, I'll ask on LWJGL repo
I don’t think it is related to my project. It doesn’t contain lwjgl library code or files
I will do some more digging and post the solution here if I find it.
I will close this issue as it is not really related to openglfx. You can reopen if needed
When packaging a FAT jar containing all of my libraries, I cannot execute using
java -jar
CLI method.The files required should be in the jar file though: