My Oracle Support Banner

Getting Java.Util.Zip.Zipexception When Downloading a Jar File (Doc ID 1297093.1)

Last updated on AUGUST 14, 2020

Applies to:

Oracle Forms - Version 10.1.2.3.0 and later
Generic UNIX

Symptoms

When using a custom Jar file and trying to download this file on the client, the java runtime (JRE) will display an error like:

java.util.zip.ZipException: invalid entry size (expected 1980 but got 322 bytes)
at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
at java.util.zip.ZipOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.util.zip.ZipOutputStream.close(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
at com.sun.deploy.cache.Cache$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
at java.io.FilterOutputStream.close(Unknown Source)
...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.