Indeed hardcoding the path to the URE is a bug in the extension, not in LibreOffice.
That Ubuntus LibreOffice resides in proper https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard directories and not in /opt is not an Ubuntu invention, but comes from Debian. Also ~every other Linux distro does the same -- its fundamentally the right thing to do. Two free hints from IRC to forward to Deutsche Post when asking them to fix this issue: Generic hint on setup: 09:47:49 @sberg | Sweetshark, re <https://forum.ubuntuusers.de/topic/e-porto-add-in-libreoffice-5-1-6-2-kein-login-/>: tl;dr; is the problem that they've got their own Java-based UNO-using process? Then they should use that "simple bootstrap" stuff (<https://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components>) or at least use 'unoinfo java' (for which they need to know how to find a LO installation's Or use preexisting solutions to this problem: 09:33:24 @thorsten | Sweetshark sberg: bubli added that to noa-libre (somewhere in the libo repo on github), IIRC that was the way du jour when we discussed it The latter refers to the custom class loader implementation at e.g.: https://github.com/LibreOffice/noa-libre/blob/master/src/ag/ion/bion/officelayer/util/OfficeLoader.java As such, while getting this setup boilerplate right now is a unreasonable burden on extension developers as of now, there is nothing wrong per se with Ubuntus LibreOffice here. Rather the extension needs to do its setup right. Beyond that, upstream LibreOffice SDK certainly could make this stuff easier. But that can happen upstream _only_ as to allow extensions to be able expend the more simple bootstrapping everywhere (from a specific upstream version onwards). ** Changed in: libreoffice (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1680336 Title: libreoffice java based extension cannot find java_uno due to wrong java.library.path To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1680336/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs