This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So I've been using Lazy downloads for a while now without issue, but I'm needing to reduce my application size. What appears to be a great solution to my problem is Pack200.
I add this to my jnlp file.
<property name="jnlp.packEnabled" value="true"/>
I then .pack.gz all my jar files and all is good, except for what appears to be my "lazy" downloads.
When the application starts, I'm getting a NoClassDefFoundError on those lazy jars. If I remove the download="lazy", all works good.
Can I not have packEnabled and lazy downloads? What's the secret JavaRanch - I know you guys will know. :-)
I've seen a few things like these documents, even direct jnlp files, that suggest packing and lazy, but I can't get them to work together. They talk about the technologies, but never show you how to do it or discuss any conflicts.