This is one of those skull-bashing problems that just won’t go away. Yes, I know it’s been ‘answered’ after a fashion several times, but nowhere can I find anything to help solve the problem of a working system suddenly going bad quite out of the blue.
After months of working perfectly, my database refuses to run, giving the messages ’LibreOffice requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice’ and ‘The connection to the data source ‘xx.odb’ could not be established. No Java installation could be found. Please check your installation’.
This is not the first time it has happened to me, and it is clear from searching the web that it is an ongoing problem experienced by many other LO users. (On one previous occasion, the problem went away on its own with no action by me, which seems as much of a mystery as why it happens in the first place).
In the current case, it may or may not be a coincidence that I had recently upgraded to LO 188.8.131.52 (x64). Having read several posts about what to do, I am no nearer solving the problem. I have tried:
- Uninstall Java and reinstall it
- Uninstall LO and reinstall it
- Reset my PC to a restore point last week when everything was fine.
I have rebooted the PC between each change.
None of these steps seem to have made any difference. I would dearly love to understand what the problem is, but more importantly I need to be able to get at the data locked inside my file xx.odb, which appears to be permanently lost from view. So I have several questions:
Is there some way to retrieve the data without solving this JAVA problem?
What is the cause of the JAVA problem?
More to the point, how can it be solved? For example, should I be doing something special with 32 bit and 64 bit versions of Java? If so, what? (I am running Win 10 64 bit and can’t discover what version of Java I have – it just assures me it’s correct!).
Is there something critical about where Java is stored, or something in the settings.
Most helpfully, is there a step-by-step guide to getting out of this mess that works for any configuration?