Login  Register

Re: Packaging JOGL projects to be cross-platform?

Posted by gouessej on Jan 21, 2014; 12:54pm
URL: https://forum.jogamp.org/Packaging-JOGL-projects-to-be-cross-platform-tp4031261p4031264.html

Hi

I advise you to read my comment:
https://jogamp.org/bugzilla/show_bug.cgi?id=845#c4

The biggest problem is that the default archiver may open your JAR instead of letting Java run it.

There are several solutions to package JOGL projects:
- applets (they won't work when NPAPI stops being supported in the web browsers, they're dying, JDT is already blacklisted and you have the same constraint than Java Webstart for the certificate)
- Java Webstart / Icedtea Webstart (fast, simple but now you have to buy a "trusted" certificate, Oracle often modifies its security requirements which drives it very difficult to run anything without getting tons of warnings and you need to do something under Mac to allow applications from Internet)
- self-contained applications with native installers (you need a different native installer per OS, you can bundle the JRE with your application)
- other cross-platform installers: IzPack, GetDown, ...

Good luck.

Edit.: I already talked about Gatekeeper under Mac here:
http://forum.jogamp.org/JNLP-apps-crash-on-OS-X-10-8-Mountain-Lion-tp4025732p4026647.html
http://forum.jogamp.org/ZipException-classpath-problem-with-jocl-trying-to-run-HelloJOCL-tp4030658p4030666.html

Gatekeeper with Java is explained here:
https://blogs.oracle.com/talkingjavadeployment/entry/java_applications_and_gatekeeper
Julien Gouesse | Personal blog | Website