Click Tools, Solver and Calc crashes. Previous bug report 82618 does not address this build. Error message: LibreOffice requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - LibreOffice - Advanced. Clicking OK to this error message exits the program. LibreOffice 5.1 - Fatal Error Could not create Java implementation loader
Have you selected the Java environment in Menu/Tools/Options/LibreOffice/Advanced, remember that the if you are using 32 bits(x96) LibreOffice you must use a 32 bits java environment, and 64 for 64.
I've been bitten by this, it happens in Windows as well as Linux. I think the point here is that a missing dependency (JRE on Windows, CoinMP on Linux) shouldn't result in a fatal crash. Obviously the functionality won't work without them but this can be checked before calling them, and displayed in a normal warning message. Now I lost work and couldn't recover anything.
I tested opening Tools -> Solver... without having Java installed in Windows 7. Confirmed in 4.3.0.4 and 5.1.4.2, Calc exits abruptly after fatal error message, as described in Description. Fine in 4.2.0.4, there's a message that Java needs to be installed, but then Solver opens. => regression Also fine in 5.2.0.1, behavior is same as in 4.2.0.4 (maybe the message is slightly different). => backportRequest However, there is no warning message about missing Java in master build (Build ID: 0325b22a2a2b537a71f53b7c5d3e6c13fef68911). => new bug
I just encountered this with LibreOffice Calc 5.1.4.2 on Win7/x64. Steps to reproduce: 1) Do not have a JRE installed. 2) Open LibreCalc and load an important document, spend some time editing it but do not save your document yet. 3) Click on Tools->Solver... wondering what that actually is having never used it previously. 4) An error dialogue box comes on screen telling you you do not have a JRE installed. 5) Immediate crash to desktop with complete data loss. Autorecovery does not recover the document even if it had allegedly saved it every minute for the last hour and you haven't edited it since the last autosave. It's easy to reproduce though, you don't even need to have a document loaded, just start the program and go to Tools->Solver without a JRE installed and it crashes instantly, although that wont reproduce the catastrophic data loss part.
Since this bug is fixed in 5.2.0.1, I'm closing this bug report as RESOLVED, WORKSFORME. The fix needs to be identified, and backported to 5.1, so I'm adding backportRequest:5.1 tag. Since it's a regression, I'm also adding keywords regression and bibisectRequest. Since the application aborts, and there can be data loss, raising severity to critical. I've opened a new bug report on the new issue that only exists in the master branch (bug 100996).
*** This bug has been marked as a duplicate of bug 88237 ***