Re: Need help setting up and building JOGL project
Posted by Wade Walker on Mar 31, 2012; 2:12pm
URL: https://forum.jogamp.org/Need-help-setting-up-and-building-JOGL-project-tp3873346p3873489.html
Hi Neil,
I'm not sure if the new JAR auto-loading feature (the one that loads the *-natives-*.jar files at runtime) can get them from inside another JAR. You might try putting the natives JARs beside (instead of inside) your code JAR in the same directory -- I think that's how it's supposed to work at this point.
Also, you should put both the i586 and amd64 versions of the natives JARs there, so that JOGL can pick up one or the other depending on your platform and what JVM is being used. You can't mix and match a 32-bit JVM with 64-bit natives or vice versa, so you need both types of natives JARs available to guarantee that you'll always be able to run, no matter how the user invokes your program.
I'm just starting a long vacation where I update our wiki, so I'll put up some info about how to deploy like this once I do a few experiments.