J
JScoobyCed
Hi,
I am bundling an application to a jar file, and I am meeting pb with
images.
My jar structure:
- meta-inf\manifest.mf
- foo\bar\**\*.class
- properties\*.properties
- images\*.gif
If I don't compress the jar file, the gif can be displayed correctly.
If I compress the jar, I can't get the gif images correct.
I triied to read the bytes of a gif from within the compressed and from
within a uncompressed jar file.
The two output are different. The compressed jar reading results in
extra bytes for the image.
For example, a 1601 bytes images results to a 1643 bytes if read from a
compressed jar.
I saw the bug on sun website:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4198073
It looks to be a known problem.
Does anybody know a turnaround that allows to compress the jar file?
I have several property files that are text, and result in a jar that is
bigger than it could be.
Thanks,
I am bundling an application to a jar file, and I am meeting pb with
images.
My jar structure:
- meta-inf\manifest.mf
- foo\bar\**\*.class
- properties\*.properties
- images\*.gif
If I don't compress the jar file, the gif can be displayed correctly.
If I compress the jar, I can't get the gif images correct.
I triied to read the bytes of a gif from within the compressed and from
within a uncompressed jar file.
The two output are different. The compressed jar reading results in
extra bytes for the image.
For example, a 1601 bytes images results to a 1643 bytes if read from a
compressed jar.
I saw the bug on sun website:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4198073
It looks to be a known problem.
Does anybody know a turnaround that allows to compress the jar file?
I have several property files that are text, and result in a jar that is
bigger than it could be.
Thanks,