Java Runtime Enviroment
This worked in my case:
rm -r ~/.config/libreoffice
Many thanks!
The earlier answer (Oct 7 '12: deleting the configuration file) fixed it for me and allowed me to use JRE 1.7. But I’m not allowed vote for this answer because I don’t have enough points!
What OS, version of LibO?
If you have Microsoft 64-bit OS then install the latest Java 6 32-bit and all would be fine. It is known problem with some versions of LibO
see more Extension Installation Could not create Java Implementation Loader
Most often this has been an issue for Windows OS users.
Rolling back to the latest JRE 1.6 build is one approach when you receive the “Java runtime is defective error” following an upgrade to JRE 1.7.
However, the cause is a LibreOffice configuration issue, where old JRE 1.6 details have not been replaced with details for use of JRE 1.7
If you’d like to move to a JRE 1.7 build, you need to first remove the LibreOffice Java Runtime configuration file and allow it to rebuild following a 32-bit JRE installation and a new launch of LibreOffice.
The configuration file javasettings_Windows_x86.xml is located in the %APPDATA%\LibreOOffice\3\user\config folder.
Enter “echo %APPDATA%” at a command window prompt to display the full path to navigate.
Before deletion, you can verify this was the issue by opening the .XML with a text editor–if you see references to a jre6 path, confirms that was the problem.
If working on a 64-bit system, you may need to establish use of the specific 32-bit JRE with by specifying a JAVA_HOME variable or making an entry in the system PATH, or both.
LibreOffice calls (all 32-bit on Windows OS) incorrectly made to the system registered 64-bit version of the JRE will fail.