Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » eclipse classic Unexpected end of ZLIB input stream(Error while extracting eclipse zip file)
eclipse classic Unexpected end of ZLIB input stream [message #907195] Mon, 03 September 2012 13:50 Go to next message
Yaniv Levi is currently offline Yaniv Levi
Messages: 2
Registered: September 2012
Junior Member
Hi,
Today I downloaded the latest version of eclipse classic 4.2:
eclipse-SDK-4.2-win32-x86_64.zip
eclipse-SDK-4.2-win32.zip

My operating system: Windows 7 64, Windows XP (2 different PCs)

I tried to unzip the files using:
1. Windows 7 built in extract tool
2. WinRar
3. Java command (i.e. jar xf c:\apps\eclipse-SDK-4.2-win32-x86_64.zip)

In all 3 way I failed,
Using Windows 7 built in extract tool I got the following error:
The compressed (Zipped) folder is empty

Using WinRar command I got the following error:
! C:\apps\eclipse-SDK-4.2-win32-x86_64.zip: The archive is either in unknown format or damaged

Using the java command I got the following error:
c:\APS\jdk1.6.0_24\bin>jar xf c:\apps\eclipse-SDK-4.2-win32-x86_64.zip
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:154)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:100)
at sun.tools.jar.Main.extractFile(Main.java:936)
at sun.tools.jar.Main.extract(Main.java:852)
at sun.tools.jar.Main.run(Main.java:242)
at sun.tools.jar.Main.main(Main.java:1149)


I can see that the file size is OK, I downloaded it several times to verify that its OK, download them from different mirror site and did the same in Window 7 and XP with no success.
Can you please assist?
Re: eclipse classic Unexpected end of ZLIB input stream [message #907215 is a reply to message #907195] Mon, 03 September 2012 14:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26068
Registered: July 2009
Senior Member
Please use eclipse.newcomers fro this type of question. Probably you're
not using the right unzip tool; the built-in windows one is known to
work poorly.

http://wiki.eclipse.org/SDK_Known_Issues#Windows_issues

On 03/09/2012 3:50 PM, Yaniv Levi wrote:
> Hi,
> Today I downloaded the latest version of eclipse classic 4.2:
> eclipse-SDK-4.2-win32-x86_64.zip
> eclipse-SDK-4.2-win32.zip
>
> My operating system: Windows 7 64, Windows XP (2 different PCs)
>
> I tried to unzip the files using:
> 1. Windows 7 built in extract tool
> 2. WinRar
> 3. Java command (i.e. jar xf c:\apps\eclipse-SDK-4.2-win32-x86_64.zip)
>
> In all 3 way I failed,
> Using Windows 7 built in extract tool I got the following error:
> The compressed (Zipped) folder is empty
>
> Using WinRar command I got the following error:
> ! C:\apps\eclipse-SDK-4.2-win32-x86_64.zip: The archive is either in
> unknown format or damaged
>
> Using the java command I got the following error:
> c:\APS\jdk1.6.0_24\bin>jar xf c:\apps\eclipse-SDK-4.2-win32-x86_64.zip
> java.io.EOFException: Unexpected end of ZLIB input stream
> at
> java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
> at
> java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:154)
> at
> java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:100)
> at sun.tools.jar.Main.extractFile(Main.java:936)
> at sun.tools.jar.Main.extract(Main.java:852)
> at sun.tools.jar.Main.run(Main.java:242)
> at sun.tools.jar.Main.main(Main.java:1149)
>
>
> I can see that the file size is OK, I downloaded it several times to
> verify that its OK, download them from different mirror site and did
> the same in Window 7 and XP with no success.
> Can you please assist?
Re: eclipse classic Unexpected end of ZLIB input stream [message #907225 is a reply to message #907215] Mon, 03 September 2012 15:11 Go to previous messageGo to next message
Yaniv Levi is currently offline Yaniv Levi
Messages: 2
Registered: September 2012
Junior Member
As you can see from my problem description I took the guidelines from eclipse.newcomers.
I can unzip any other files or older eclipse version but not this one.
Re: eclipse classic Unexpected end of ZLIB input stream [message #907239 is a reply to message #907225] Mon, 03 September 2012 15:40 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26068
Registered: July 2009
Senior Member
It really sounds like you have bad bytes on your machine and it can't be
that the download itself is generally bad or no one would have been able
to unzip it. You're sure you're trying to unzip the one you've tried
redownloading? I.e., delete the old one and try again? I'm not sure
how to get the SHA1 from it, but it's worth checking that it has the
expected MD4 or SHA1...

On 03/09/2012 5:11 PM, Yaniv Levi wrote:
> As you can see from my problem description I took the guidelines from
> eclipse.newcomers.
> I can unzip any other files or older eclipse version but not this one.
Previous Topic:EclipseLink Support
Next Topic:P2.inf Copy
Goto Forum:
  


Current Time: Tue Sep 23 14:42:38 GMT 2014

Powered by FUDForum. Page generated in 0.01995 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software