[Biojava-l] problem with biojava-1.00.jar
Thomas Down
td2@sanger.ac.uk
Fri, 10 Nov 2000 11:35:21 +0000
On Thu, Nov 09, 2000 at 05:46:00PM -0800, Jerry (Zhijun) Tang wrote:
> I download the jar file. But I have problem to include it as a library
> in JBuilder4. When I used "jar xvf biojava-1.00.jar" to see the classes
> in it, I got the following message:
> java.util.zip.ZipException: invalid entry size (expected 156 but got 158
> bytes)
> at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:355)
>
Hi...
There's actually a 1.01 release, which fixes a few minor bugs in
1.00. However, I don't think that's got anything to do with
the problem you mention. The jar files are created using Sun's
standard JAR tool, and shouldn't be causing any problems. My
best guess is that your jar file got corrupted at some point
during or after download. If you downloaded by HTTP (using
the link from the front page of the web site) it's possible
that your browser corrupted the file during transit. Right now,
our web server appears to be returning the Content-Type for
jar files as text/plain (ooops) which means that many browsers
will do some newline processing on the data. This will be bad
news for any binary file. I'll try to get this fixed, but in
the meantime:
- If using Netscape, try holding down the SHIFT key when you
download a file (this might work in other browsers, too, but
I'm not sure).
- Download from our FTP site instead:
ftp://ftp.biojava.org/pub/biojava
- If this still fails, try avoiding your browser completely
and using a command-line FTP client
Hope this helps,
Thomas.
--
``If I was going to carry a large axe on my back to a diplomatic
function I think I'd want it glittery too.''
-- Terry Pratchett