I'm trying to add an image to a jar at runtime by using the TrueZip library. I try to put together the few snippets of code from their manual, but it either creates/updates jars that can't be used, or doesn't add images to the jars.
posted 10 years ago
Hey everybody I figured it out:
The trick is one must specify even the file name in the destination and not just the directory of the destiantion:
i.e.: a correct destination to place img.jpg would be: test.jar/img.jpg AND NOT just test.jar
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad: