[Bug 1680336] Re: libreoffice java based extension cannot find java_uno due to wrong java.library.path

2017-04-07 Thread Schlomo Schapiro
Can you please explain why you believe that the root cause is a hard
coded path in this extension? I unpacked the OXT and the embedded JAR
file and could not find any "libreoffice" string in any of the files
there. I could find all kind of other UI strings from the extension so
that I tend to believe my test showing that the path is *not* hard
coded.

What else makes you so sure that only the extension can be blamed for
this problem?


---
Regarding your general point and closing this issue:

I totally understand - and agree with - your line of arguments and also
your view on what is proper with regard to file locations.

Nevertheless I kindly ask you to reconsider adding my workaround (or something 
more appropriate to the same effect) to the LO packages on Ubuntu for the 
following reasons:
* Users don't know or care why something fails. They just get frustrated. If we 
as Ubuntu have the chance to help them then we should do so.
* If we can add a fix to Ubuntu that does not harm anybody but helps some 
people then IMHO we should do so - not as a step down from our high principles 
but as a step up towards just helping our users.
* I estimate that we can "fix" 90% of Linux users of this extension
* I have the impression that fixing it here will be much easier then getting 
DeutschePost to fix it, they don't really care about us.

-- 
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


[Bug 1680336] Re: libreoffice java based extension cannot find java_uno due to wrong java.library.path

2017-04-07 Thread Björn Michaelsen
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 
:
 tl;dr; is the problem that they've got their own Java-based UNO-using process? 
Then they should use that "simple bootstrap" stuff 
()
 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


[Bug 1680336] Re: libreoffice java based extension cannot find java_uno due to wrong java.library.path

2017-04-07 Thread Björn Michaelsen
As such closing invalid in LibreOffice/Ubuntu on this specific issue.
The specific issue needs to be fixed in the extension. The generic
trouble of a simpler bootstrapping is something for upstream to consider
indeed -- but unrelated to the specific issue mentioned here.

-- 
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


[Bug 1680336] Re: libreoffice java based extension cannot find java_uno due to wrong java.library.path

2017-04-06 Thread Schlomo Schapiro
I am not sure that the installation location has any effect except for
those cases where people hard-code paths which I would not recommend in
any case.

This bug is more about setting the correct library path to match the
installation choice taken by the LO Ubuntu flavor.

-- 
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


[Bug 1680336] Re: libreoffice java based extension cannot find java_uno due to wrong java.library.path

2017-04-06 Thread dino99
Seems to be a widely shared issue across milestones. 
'URE' documentation shows that Ubuntu does not follow the main common path "By 
default, the URE is installed in /opt/libreoffice/ure on Linux"
https://github.com/LibreOffice/core/tree/master/ure/source

It should be good if Canonical LO team pay attention to such problem.
Sadly Lo reports on Launchpad seems reported and then ignored most of
the time.

and other similar problem related to 'ure' lp:1592071

-- 
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


[Bug 1680336] Re: libreoffice java based extension cannot find java_uno due to wrong java.library.path

2017-04-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libreoffice (Ubuntu)
   Status: New => Confirmed

-- 
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