I use this very simple code to create an empty xls file.

HSSFWorkbook wb = new HSSFWorkbook();
FileOutputStream fileOut = new FileOutputStream(path);
wb.write(fileOut);
fileOut.close();

When I try to open it with OpenOffice 1.1.3 I receive the following message :

An unrecoverable error has occured.

An the file can not be opened.
However I have no problem to open it with Microsoft Excel.

My operating system is Gentoo Linux.

I attach the generated Excel file


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

Reply via email to