I’m a bit alarmed by the size of the JOGL demos on the web site. The basic demos are 1MB, and the more advanced ones are 5MB each. Is this typical of JOGL? Is there a way to reduce the size of applications?
Yes, use lower quality lower grade textures.
yes and 4.95 MB of it is in the JOGL-DEMO-DATA.JAR
as in data, not code.
I figured as much. But I seem to be downloading it every time. Is it possible for the end user to not have to download it each time?
That depends entirely on your deployment strategy. I’ve done it with webstart and never had it download the native .jar files more than once unless the version on them changed.
As mentioned on the jogl-demos page, there is a bug in the java.net web server where it incorrectly sends the current time instead of the file’s time stamp when Java Web Start makes its request to see if it needs to re-download the jars. This bug was reported a couple of weeks ago; I’ll ping the admins again.