Login  Register

Re: JOGL applet deployment

Posted by Wade Walker on Jun 22, 2011; 1:35pm
URL: https://forum.jogamp.org/JOGL-applet-deployment-tp3074893p3095530.html

Hi Nemesis,

Glad you got this working! I'm not sure why the "j2se version" tag was required for your and not mine, but I'll add that when I put this info on the wiki.

Thanks also for figuring out how to make the paths relative. I tried a few things, but hadn't figured that out yet. I assume that part of the JNLP files will change when you put the applet on a web server instead of running locally.

As for signing the JARs in bulk, I think Sven uses a shell script to do this  I was planning to write a little Java program that invokes jarsigner programmatically, but I haven't gotten around to it yet.

To reduce your download size, you just stop using the *all*.jar files and start using the smaller individual JARs that hold only the code you need. If you look in the JOGL download, you can see there are many other smaller JARs in there with different names. You can look inside them and figure out the minimum set of small JARs you need for your app. There is some information about this at https://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html, but it's a little confusing.