Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by gouessej on Sep 08, 2016; 8:29am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4037107.html

Patman wrote
As for the "runnable jar", I used the Eclipse "Export > Runnable Jar" option to make it.
It's possible to put the native libraries into the JAR by respecting the usual layout for libraries based on GlueGen (including JOGL of course), which Eclipse doesn't do. You can use the option "Save as ANT script" and modify this script to add the native libraries into the JAR. You can find some information about fat JARs and JOGL in our wiki here. Fat JARs have numerous limitations, I encourage you not to package your software that way on the long term.
Julien Gouesse | Personal blog | Website