1.3.1_02 or 1.4 should be fine.  Or basically JDK != 1.3.0 (core dumps 
galore) && jdk != 1.3.1_03 (random zip file corruption bug).

-Andy

Reto Badertscher wrote:

>Yes, im using jdk 1.3.1_03, which jdk would you suggest to use 1.4?
>
>Regards
>
>Reto
>
>-----Urspr�ngliche Nachricht-----
>Von: Glen Stampoultzis [mailto:[EMAIL PROTECTED]]
>Gesendet: Dienstag, 7. Mai 2002 01:55
>An: POI Users List
>Betreff: Re: Writing zipped xls
>
>
>I've heard jdk 1.3.1_03 has some problems with zip files.  Are you using
>that version?
>
>Regards,
>
>Glen
>
>----- Original Message -----
>From: "Reto Badertscher" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 07, 2002 6:29 AM
>Subject: Writing zipped xls
>
>
>>Hello,
>>
>>when i try to write a zipped excel file using:
>>
>> FileOutputStream out = new FileOutputStream(zipFileName);
>> ZipOutputStream zip = new ZipOutputStream(out);
>> zip.putNextEntry(new ZipEntry(sheetFileName));
>> HSSFWorkbook wb = coux.writeSheet();
>> zip.write(workBook.getBytes());
>> zip.closeEntry();
>> zip.close();
>>
>>The archive with the Excel file is written. But later when opening the
>>extracted file Excel crashes.
>>When writing the same file using:
>>
>> FileOutputStream out = new FileOutputStream(fileName);
>> HSSFWorkbook wb = countryXchange.writeSheet();
>> wb.write(out);
>> out.close();
>>
>>Everything is find.
>>Could please someone give some hints what coul cause the error. Is there
>>something else to be considered for writing zipped Excel file. When
>>generating zipped text files i didn't had any problems.
>>
>>Thanks for any help.
>>
>>Reto
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to