This is a separate bug report for the behavior described in:
The following behavior happens with versions 220.127.116.11 or 18.104.22.168 or 5.3 alpha1 and Java 8u92, or with 22.214.171.124 and Java 8u112 (there's a different error with earlier versions and Java 8u112 because of bug 103507) in Windows 7.
Does not happen with 126.96.36.199 and Java 8u92. => regression
1. Start with a clean profile.
2. Switch to Tables view.
The following error is shown:
"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."
(then another that connection to the data source could not be established)
3. Restart Base, open database, switch to Tables again.
There are no errors anymore, so the error on first run is a bug.
Debugging revealed that for this Java version (8u92) on the first attempt jfw_startVM(...) call returns with JFW_E_VM_CREATION_FAILED:
(this was done before bug 103507 was fixed)
Since the issue doesn't occur in 5.1, it's a regression, and can be bibisected, but only with Java 8u92 (or likely with anything <= u99)
I haven't tried if it occurs in Linux.
Stephan: thought this Java detection problem may be interest you?
I installed 5.2.3 and deleted my profile. I did not get the error.
Were you using 32 or 64-bit version?
My Java is (build 1.8.0_111-b14), it does not offer a further update to 112.
Win 7 Pro 64-bit, Version: 188.8.131.52 (x64)
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default;
Locale: fi-FI (fi_FI); Calc: CL
After more testing, it doesn't happen reliably, maybe ~33-50% of the time.
Using 32-bit LO and Java. Java 8u111 and 8u112 are essentially the same, the update ending with 1 only contains security fixes, while the other has additional features (no idea what those are).
is this issue still happening in master? I recall Samuel doing some changes in this area...
Hi Xisco, yes, I just reproduced with daily build 2017-08-15_01:59:49 / bebaac5eb6ebd2db3e1ea22b1630111343a9c25c.
FWIW, I can also confirm with master OSX
I see the list of available JDKs, but none are selected by default when I first open the Advanced dialog under Preferences.
Tried 10 times with 184.108.40.206 and a clean profile, Win 10, Java 1.8.0_161, but could not reproduce.