Re: JOGL 2.3.2 example compiles but fails to run (Maven 3.8.2, NetBeans 12.4, OpenJDK 16.0.2, Lubuntu 21.10)
Posted by
gouessej on
Sep 05, 2021; 6:50pm
URL: https://forum.jogamp.org/JOGL-2-3-2-example-compiles-but-fails-to-run-Maven-3-8-2-NetBeans-12-4-OpenJDK-16-0-2-Lubuntu-21-10-tp4041246p4041257.html
We don't put snapshots into Maven Central. JOGL 2.4.0 is still a release candidate, not a release. The fat JAR helps to get the job done quickly, it's less error prone but it's a bit dirty.
Moreover, not using Maven doesn't prevent from debugging or running JOGL programs in an IDE, you can put the JogAmp fat JAR into the classpath, I do that often in NetBeans 12 and Eclipse 2021, it works like a charm.
Finally, what you tried to do (i.e pointing to the fat JAR in your local file system) is doable with Gradle, I can show you how to do that, Gradle is supported by NetBeans and you'll be able to use Maven repositories in Gradle when JOGL 2.4.0 is released:
https://jogamp.org/wiki/index.php?title=Setting_up_a_JogAmp_project_in_your_favorite_IDE#GradleKeep in mind that we are volunteers.