Login  Register

Re: Packaging JOGL projects to be cross-platform?

Posted by KevinWorkman on Jan 23, 2014; 1:51pm
URL: https://forum.jogamp.org/Packaging-JOGL-projects-to-be-cross-platform-tp4031261p4031301.html

Yeah, a GUI would definitely be optimal, I'm just trying to come up with a nice one-size-fits-all solution that handles Processing/JOGL, Java/other natives, LWJGL, libGDX, external files, etc etc etc. If I could build my own fat jars, that would be a step in the right direction, especially if I could automatically extract the external files and natives to a temp directory.

I've seen the problem with jar files being opened by the zip handler, but IMHO that's an easy enough fix (right click, open with...). I like the idea of jars because they seem more "light weight" than any other option, except of course webstarts and jnlp! But then again, fat jars can't handle non-JOGL natives or external files, so that puts me back to the JWrapper option (which I'm currently struggling with, JOGL doesn't seem to like being in a JWrapper application).

I briefly considered purchasing a certificate and letting the users of my site use that for free, but the problem with that is all it takes is one person to "accidentally" do something bad, and then the certificate for *everybody* is revoked.