Perhaps, but it's not the issue right now, as long as the non-JAR version of my test app runs fine.
I'm on Gentoo Linux which compiles everything from sources and usually has everything up to date.
But if they stop running from some reason, I'll upgrade these libs from the JOGL website.
Yeah, this way it works fine. Now how to make it run with these JARs embedded into my app's JAR file? When I put the library JARs inside the app's JAR, they are not seen by the class loader.
OK, I pretty much learned how to find out which JARs are needed by opening them and looking through them for the class from the error message. Maybe later I'll figure out how to repackage them. But for now, the main issue is how to run the app with all the libraries supplied in the JARs packed inside the main single stand-alone JAR file instead of supplying them separately and having the user copy it into the same directory with my app's main JAR.
Unfortunately, this quote from the Java docs doesn't seem very promising :-/
Unfortunately, they don't explain much about how such "custom code" should look like and how to do it.
Perhaps I could pre-select it for him by detecting the platform supplied by his browser. That's how many corporate websites do it (such as Oracle with Java, Adobe with Flash etc.). This is not an issue right now. So let's not get into unnecessary details for now, OK? The main issue right now is how to make the JAR self-contained.
Free forum by Nabble | Edit this page |