[Libreoffice-bugs] [Bug 134248] Jars published on Maven have wrong classpath / Bootstrap does not work

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 17 14:56:10 UTC 2021


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

--- Comment #8 from cre at css.de ---
I also got issues with the "../" in the Class-Path attribute in the manifest
META-INF/MANIFEST.MF. even in the latest version libreoffice-7.1.1.jar.

The reasoning behind the "../" is beyond my understanding.
>Those entries are necessary so that native code used by those jars can be found.

Shouldn't be native code loaded from java.library.path instead of
java.class.path?

Otherwise I can only ask for it:
Please hold the user responsible if native code should be used.
If you want to support your users you could prepare the executables with the 

jvm parameter example for windows:
just your native code:
-Djava.library.path="lib/dlls"

also libraries from the Operating System:
-Djava.library.path="%PATH%;lib/dlls"

-- 
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/20210317/805e6bc7/attachment.htm>


More information about the Libreoffice-bugs mailing list