How to create an empty ZIP file?
807589Aug 21 2008 — edited Aug 21 2008Hi,
when I try to create a ZIP file using java.util.zip.ZipOutputStream,
never call putNextEntry(ZipEntry),
but do close the stream,
the result is a 0-byte file instead of a valid empty ZIP file.
What am I doing wrong?
Thanks.