Login  Register

Re: Running a JOGL app from a single JAR file

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

The value of the attribute Class-Path is probably wrong. Please read the documentation:
http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#Main_Attributes

It uses relative URLs, not absolute URLs. You should write "jogl.all.jar,jogl.test.jar" instead of "jogl.all.jar jogl.test.jar" (even though both should work).

Using the packages provided with various GNU Linux distributions is a bad idea, they are often obsolete and they don't contain the JARs containing the native libraries. If you use them, you'll have to modify a lot the example I gave you.
Julien Gouesse | Personal blog | Website