LibreOffice Java API and Java 11

Rick Heckadon rickh at decisioninsight.com
Wed May 1 14:40:43 UTC 2019


Good Morning!

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?

Thank you for your time!
Rick Heckadon

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190501/fedfee1c/attachment.html>


More information about the LibreOffice mailing list