Login  Register

Re: ZipException when loading native jars

Posted by gouessej on Dec 04, 2012; 10:47pm
URL: https://forum.jogamp.org/ZipException-when-loading-native-jars-tp4027387p4027401.html

ryanmohr wrote
> whereas Java Web Start is reliable enough to do something similar, it's
> even better for updates
>

In theory yes.  In practice, not even close.  We've used web start to
deploy our application for the past ten years and we're finally giving up
on it.  We've repeatedly been bitten by signing issues, offline issues,
missing desktop icons, broken file associations... all the kinds of things
our customers expect to just work.  It's great for little hobby projects
but just doesn't make the cut in production.

Our entire application is less than 10mb.  Not an issue to have to
redownload, especially since it happens in the background automatically.
If your nice exe. file doesn't want to work, the end user will have to open the JAR by double-clicking onto it and most of the time it will open it with the default archiver instead of running your program. Lots of people use WinRAR under Windows and Ark under GNU Linux... There are workarounds to succeed in using Java Web Start in good conditions (I rewrote the mechanism that creates the desktop shortcuts). JavaFX native packaging is an interesting option too.


ryanmohr wrote
Since the path can't be modified at
runtime
It's wrong:
http://fahdshariff.blogspot.fr/2011/08/changing-java-library-path-at-runtime.html
Julien Gouesse | Personal blog | Website