https://bugs.documentfoundation.org/show_bug.cgi?id=103570

            Bug ID: 103570
           Summary: Java not selected automatically when a database is
                    opened for the first time
           Product: LibreOffice
           Version: 5.2.0.4 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]

This is a separate bug report for the behavior described in:
https://bugs.documentfoundation.org/show_bug.cgi?id=103507#c12

The following behavior happens with versions 5.2.0.4 or 5.2.2.2 or 5.3 alpha1
and Java 8u92, or with 5.2.3.3 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 5.1.5.2 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:
http://opengrok.libreoffice.org/xref/core/stoc/source/javavm/javavm.cxx#758
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to