Ask Your Question

LibreOffice Base cannot use OpenJDK Java 11

asked 2019-05-01 16:03:11 +0200

HCI gravatar image

On April 16th 2019, Oracle changed its licensing terms for new releases of its Oracle Java JDK and JRE releases. However, these terms do not apply to the OpenJDK flavors of Java, which are available under the GPL license, and so I've made the switch to the latter.

Because they provide installers for Windows, I've made use of the excellent AdoptOpenJDK distribution, and its been working just great.

Alas, LibreOffice does not appear to recognize the directory structure of the OpenJDK installation as a Java runtime environment, and so refuses to use it, so I cannot open any of my databases without installing an Oracle JRE. :-( LibreOffice does not appear to make any use of the JAVA_HOME environment variable, either.

(BTW, in case it's relevant, I'm using a 64-bit version of both the JDK and LibreOffice.)

Is there a workaround that does not involve using the restricted license Oracle releases? If not, does The Document Foundation have any plans to support OpenJDK? Should this be filed as a bug/enhancement request?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-05-01 20:57:43 +0200

Ratslinger gravatar image

updated 2019-05-01 21:13:05 +0200


Have been using OpenJDK 8 then 9 on Mint 18.3 for some time now. Usually get updates through distro but haven't tried beyond v9 yet.

openjdk version "9-internal"

OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)

OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)


image description

Also, see this post (and comments) -> How can I use AdoptOpenJDK as the JRE? for Windows 10 & OpenJDK 11 possible problems.

Any further problems you may want to file a report -> Bugzilla.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-05-01 16:03:11 +0200

Seen: 115 times

Last updated: May 01