More information about Java installation can be found on this guide. Unfortunately after Sun/Oracle Java installation LibreOffice behaved exactly the same. Even though Java installation is not the solution, I’m sharing it in case anyone experiences problems with OpenJDK 😉
Problem solution: delete old settings
One of great ways to discover errors is launching application from terminal when any startup errors are displayed in command line output. LibreOffice echoed this error (fragment):
Aborted „$sd_prog/$sd_binary“ „$@“
It was rather difficult to find a solution by searchning with this message. Luckily, on Ubuntu forums a message was found saying that LibreOffice installation creates incorrect ownerships for settings files and folder on user’s home directory. To try this I ran LibreOffice as root – hooray, program runs! This confirms ownership problem.
According to message author, all you need to do is delete .libreoffice (or .openoffice.org for OpenOffice.org installations) or simply chown this directory with your username. My home directory had both folders as I was previously using OpenOffice.org, so I deleted both. After that LIbreOffice successfully launched. Once again, thanks, Ubuntu forum! 😀 Even if you’re under Red Hat, Ubuntu community is a place to check.
In case you need to execute any LibreOffice application from terminal, whole suite is located at /opt/libreoffice.