Java Custom JRE Support (Extensions)

Stephan Bergmann sbergman at redhat.com
Mon Sep 16 12:42:30 UTC 2019


On 16/09/2019 14:34, Rob Barry wrote:
> On Mon, 2019-09-16 at 14:22 +0200, Stephan Bergmann wrote:
>> There are no such plans by anyone I'm aware of at least.  As above, LO
>> uses a single in-process JVM for all of its Java needs (from extensions
>> and from whatever core components that use Java).
> 
> If extensions and everything else use the built-in JVM, why is there a JRE selection dialog in the
> settings and why are users prompted to install a JRE when installing Java extensions? See
> https://libreofficehelp.com/how-to-fix-libreoffice-requires-a-java-runtime-environment-error/

There is no built-in JVM in LO.  The JVM from the chosen JRE is 
instantiated in-process (instead of running it as an additional process, 
which would allow for e.g. a 64-bit soffice.bin to interact with a 
32-bit JRE; this also implies that there is a single JVM used for all 
extensions etc.).



More information about the LibreOffice mailing list