Ah, programming again. Very nice.

Anyhow, here's the quickest possible primer on how to write files to disk as zips from Java:

import java.util.zip.*;

...

String strOut = "Wackity wack wack";
String strPath = "C:\\someMorePortableFilePath"'

ZipEntry tempZentry = new ZipEntry("UniqueZipEntryName");
ZipOutputStream zos =
new ZipOutputStream(new FileOutputStream(strPath));
zos.putNextEntry(tempZentry);
zos.write(strOut.getBytes());
zos.closeEntry();
zos.close();