[Libreoffice-bugs] [Bug 124958] Java Recognition Problems with OpenJDK12

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 26 09:03:47 UTC 2019


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

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
           Assignee|libreoffice-bugs at lists.free |sbergman at redhat.com
                   |desktop.org                 |
             Status|NEW                         |RESOLVED

--- Comment #5 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to JE1 from comment #0)
> The connection to the data source "New Database Wed 2" could not be
> established.
> 
> The driver class 'org.hsqldb.jdbcDriver' could not be loaded.The additional
> driver class path is 'vnd.sun.star.expand:$LO_JAVA_DIR/hsqldb.jar
> vnd.sun.star.expand:$LO_JAVA_DIR/sdbc_hsqldb.jar'.
> 
> I have Java 12.0.1 installed and it is showing and selected in Libre Office
> preferences.

That sounds very much like the issue fixed with
<https://gerrit.libreoffice.org/plugins/gitiles/core/+/27c6d1dbdb3dcad02a244ab942adb9222a461e44%5E!/>
"Avoid calling java.lang.Class.newInstance()".  I have requested a backport to
LO 6.2.x now at <https://gerrit.libreoffice.org/#/c/71347/> "Avoid calling
java.lang.Class.newInstance()".

(But not sure why Alex flagged this as "regression"?)

(In reply to JE1 from comment #4)
> Is there a way of installing JDK11 and telling the Mac to choose this one
> instead of JDK12?

There should be no issue installing multiple JDKs on macOS.  Then, in LO, go to
"LibreOffice - Preferences... - LibreOffice - Advanced" to select a specific
Java version to use.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190426/eaaf061d/attachment.html>


More information about the Libreoffice-bugs mailing list