Received: from xulfad.ton.tut.fi (mail@a7a.mannikko1.ton.tut.fi [195.148.185.21]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA37462 for ; Thu, 6 Jan 2000 07:24:58 -0500 (EST) (envelope-from flux@a7a.mannikko1.ton.tut.fi) Received: from flux by xulfad.ton.tut.fi with local (Exim 3.03 #1 (Debian)) id 126Bxd-0002rO-00; Thu, 06 Jan 2000 14:24:13 +0200 Date: Thu, 6 Jan 2000 14:24:13 +0200 From: Erkki Seppala To: Peter Mount Cc: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] JDBC & Netscape Message-ID: <20000106142413.A10980@xulfad.ton.tut.fi> References: <1B3D5E532D18D311861A00600865478C70C04B@exchange1.nt.maidstone.gov.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.0i In-Reply-To: <1B3D5E532D18D311861A00600865478C70C04B@exchange1.nt.maidstone.gov.uk>; from petermount@it.maidstone.gov.uk on Thu, Jan 06, 2000 at 12:13:16PM -0000 Sender: Erkki Seppala On Thu, Jan 06, 2000 at 12:13:16PM -0000, Peter Mount wrote: > PM: Hmmm, .jar files shouldn't be compressed. They are basically > uncompressed zip files (-0) and the spec states that they must never be > compressed. Perhaps its a quirk of either the jar tool the debian > maintainer used, or the browser just simply handles compressed jar > files. Well, this is what jdk-1.1 jar does: [14:18] lectric(pts/8):~% dd if=/dev/zero of=foo bs=1M count=1 1+0 records in 1+0 records out [14:18] lectric(pts/8):~% jar cvf foo.jar foo adding: foo (in=1048576) (out=1033) (deflated 99%) [14:18] lectric(pts/8):~% ls -l foo.jar -rw-rw-r-- 1 flux flux 1417 Jan 6 14:18 foo.jar And that's the official jdk by Sun. Perhaps things have changed between 1.0 and 1.1? Netscape 4.7 handles it ok. I suspect that the original package made for Debian might be created without compression, but still du -b of the contents after extracting the original postgresql.jar is more than the size of the original .jar.. (160768 bytes compared to 143506 bytes) -- _____________________________________________________________________ / __// /__ ____ __ Erkki Seppälä\ \ / /_ / // // /\ \/ / Inside Informatics ry\ / /_/ /_/ \___/ /_/\_\@inside.org http://www.inside.org/~flux/