Article View: borland.public.jbuilder.java.language
Article #125Re: Corrupt Zip File
From: Paul Nichols [TeamB]
Date: Tue, 04 Sep 2007 15:32
Date: Tue, 04 Sep 2007 15:32
23 lines
1950 bytes
1950 bytes
Alvin Randolph wrote: > Hello: > I created a jar file made up of several class files from package > Importlib so I can import them to another package. Everytime I made a > change to one of the Importlib files. I created the jar file with > > jar cvfm importest.jar manifest.txt importlib.* > > This appeared to work, but after about 3 or 4 recreations I sometime got > a JBuilder6 error message > > Cannot access class Outerclass; java.io.IOException: zip file is > corrupted .... > > Sometimes I could run the jar command again and it would run fine. But > other times I would have to exit JBuilder, delete the jar file, recreate > a new one b4 it would work. What is causing this & how do I fix it ?? I have noticed that on Windows, when you overwrite a file, it either (1) Does not overwrite or (2) becomes corrupted. So your problem may not be a JB problem, but a Windows problem. If you are doing this via a Unix/Linux OS, please tell us which one.
Technical Details
Message-ID:
<46dd7a87$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46dd3735$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,697ba75bea895371 X-Google-Attributes: gidf74b3,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 04 Sep 2007 11:32:23 -0400 From: "Paul Nichols [TeamB]" <paul@none.com> User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Corrupt Zip File References: <46dd3735$1@newsgroups.borland.com> In-Reply-To: <46dd3735$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 76.97.213.175 Message-ID: <46dd7a87$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1188919943 76.97.213.175 (4 Sep 2007 08:32:23 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail