In case you don’t use Webstart: is it safe to merge all of Jogl’s class files of the different platform’s zip files into on Jar and using this single Jar file with your application?
Or put it in another way: is it safe to assume that just the net/java/games/jogl/impl/ folders are different for the different platforms, while the other classes are identical?
I used to do this and it worked for Win32 and Linux (hadn’t tested it with Mac and Solaris), but would like to see if this is officially OK.
Another question: is there an easy way for the non-Win32 platforms to have the native lib laying next to the Jogl jar in order to make it work? With Win32 this is possible, but I’m not sure about the other platforms. For example your app is on CD/media like this:
° DoubleclickableApp.jar (its Manifest references jogl.jar)
° jogl.jar (containing the classes for all platforms)
° jogl.dll
° libjogl.so
° libjogl.jnilib
(Well, listing it this way shows that the lib for Solaris and Linux have the same name, so for these platforms it won’t work anyway.)
I’d be very happy to see Jogl to be included in a J2SE one day, so I could just use platform independent Java bytcode JARs…