Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
3  
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
add comment

migrated from stackoverflow.com Jan 12 '11 at 22:12

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

2 Answers

Are you using OpenOffice of 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 Mircosoft OFfice suite (Word, Excell, 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 openoffice.org

or for gnumeric going to the terminal and typing sudo apt-get install gnumeric

share|improve this answer
add comment

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 OpenOffice.org, LibreOffice (an OpenOffice fork) or another FOSS office suite or program which can open Excel files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.