Login  Register

Exporting java GLOOP,jogl,gluegen project in eclipse

Posted by nech on Apr 02, 2021; 9:11pm
URL: https://forum.jogamp.org/Exporting-java-GLOOP-jogl-gluegen-project-in-eclipse-tp4041085.html

So I want to export my jogl project in eclipse however I get following error when I try to launch it after wrapping the jar to an exe with launch4j (executing the .jar does nothing).

Executing: C:\Users\neche\Desktop\UfoSpiel.exe
Exception in thread "main" java.lang.NoSuchMethodError: 'void com.jogamp.common.util.PropertyAccess.addTrustedPrefix(java.lang.String, java.lang.Class)'
        at jogamp.opengl.Debug.<clinit>(Debug.java:52)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:78)
        at GLOOP.GLRenderer.<init>(GLRenderer.java:90)
        at GLOOP.GLKamera.<init>(GLKamera.java:49)
        at UfoSzene.main(UfoSzene.java:15)

The project works fine in eclipse with the small issue that when launching the app with a set width and height using gloop's GLKamera the window is bigger but just has black bars.

you cannot see very well because of the texture but the game view is smaller than the window