Login  Register

Re: Running a JOGL app from a single JAR file

Posted by gouessej on Jan 14, 2015; 4:52pm
URL: https://forum.jogamp.org/Running-a-JOGL-app-from-a-single-JAR-file-tp4033846p4033853.html

Actually, using the packages provided with various GNU Linux distributions is a bad idea even for development purposes.

Maybe you can simply copy the JOGL JARs into the same directory than the JAR you created (modify the Class-Path attribute too) and you will need to set the Java library path for the native libraries.

The example I gave you shows which JARs are necessary. If you create one JAR per platform, you'll have to hope that the end user won't pick the wrong one and actually, it will occupy much more space on your server than a single JAR. Moreover, some people install the 32-bit JVM on a 64-bit system which is another source of confusion...
Julien Gouesse | Personal blog | Website