LibreOffice Java API and Java 11

Stephan Bergmann sbergman at redhat.com
Thu May 2 08:47:08 UTC 2019


On 01/05/2019 16:40, Rick Heckadon wrote:
> I’m currently working on a Java project that includes the LibreOffice 
> Java API.  With Oracles changes to the distribution and support of Java, 
> I have since moved the project over to AdoptOpenJDK 11.  While trying to 
> run the program, the LibreOffice API keeps causing this error:
> 
> /Error occurred during initialization of boot layer. 
> java.lang.module.ResolutionException: Module jurt contains package 
> com.sun.star.lib.util, module ridl exports package com.sun.star.lib.util 
> to jurt. Command execution failed. /
> 
> I did do a Google search and found this bug report: 
> https://bugs.documentfoundation.org/show_bug.cgi?id=117331.  It is 
> related to my issue, but I do not see any resolution to the problem.  I 
> am writing this message to see if there is some way to get around this 
> issue before the LibreOffice Java API is made Java 9 or 11 compliant?

Please provide a description how exactly to reproduce your issue, either 
in the bug you referenced (which lacks any such description), or in a 
new one (to which please provide a link here).


More information about the LibreOffice mailing list