Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not able to open excel file which is generated from java web application in Linux. The file is opening in Windows but not in Linux.

I am not using Open Office. I have two different applications deployed in two different was7 servers in same Linux machine. Both the applications generate excel output stream which I open in IE. When I am trying the same application in Windows environment both are working fine, but in Linux I can open and download xls files in one application but not in other. I am using application/vnd-ms... as mime type and POI jars to generated excel, no errors in my debug log or system errors.

share|improve this question

migrated from Jan 12 '11 at 22:12

This question came from our site for professional and enthusiast programmers.

Not enough information. Are you opening it with OpenOffice? – Joe Philllips Jan 12 '11 at 21:48
Are you trying to open the exact same file on different platforms, or are there distinct files generated per each platform? In the latter case, have you compared them? – Péter Török Jan 12 '11 at 21:52

Are you using OpenOffice or Gnumeric on Linux to open the Excel file?

If not install one of those. Gnumeric is only an Excel replacement OpenOffice is a replacement for the entire Microsoft Office suite (Word, Excel, PowerPoint etc).

On Ubuntu or any other Debian-based systems you can install open office by going to the terminal and typing sudo apt-get install or for gnumeric going to the terminal and typing sudo apt-get install gnumeric.

share|improve this answer

Another solution is to upload the file to Google Docs and try to open in there. Google can't always convert the file, but if it can then you can view the spreadsheet from any other computer you log into your Google account from.

Other than that, you can use, LibreOffice (an OpenOffice fork) or another FOSS office suite or program which can open Excel files.

share|improve this answer

You must log in to answer this question.