[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637829: Warning: failed to launch javaldx



On 08/31/11 04:13, Rene Engelhard wrote:
tag 637829 + pending
thanks

On Wed, Aug 31, 2011 at 08:56:19AM +0200, Rene Engelhard wrote:
Hi,

On Tue, Aug 30, 2011 at 05:03:39PM -0400, Bob Vincent wrote:
    Then I searched through the localc.trace file for the string "javaldx" and
    found the following line:

      execve("/usr/lib/libreoffice/program/../ure/bin/javaldx",
      ["/usr/lib/libreoffice/program/../"...,
      "-env:INIFILENAME=vnd.sun.star.pa"...], [/* 60 vars */]) = -1 ENOENT (No
      such file or directory)

    Apparently, libreoffice is searching for the "javaldx" binary in
    /usr/lib/libreoffice/ure/bin/javaldx but it isn't there.
Which was never reliable to look for.
They should use basis-link/ure-link... That's the defined interface.
Either way, thanks for the info. Patch trivial.

diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 85e2e28..2a9c923 100755
--- desktop/unx/source/start.c
+++ desktop/unx/source/start.c
@@ -845,7 +845,7 @@ exec_javaldx (Args *args)
      rtl_uString_newFromAscii(&pApp, "file://" );
      rtl_uString_newConcat(&pApp, pApp, args->pAppPath );
      pTmp = NULL;
-    rtl_uString_newFromAscii(&pTmp, "/../ure/bin/javaldx" );
+    rtl_uString_newFromAscii(&pTmp, "/../basis-link/ure-link/bin/javaldx" );
      rtl_uString_newConcat(&pApp, pApp, pTmp );
      rtl_uString_release( pTmp );

Will be in 3.4.3-1.

Grüße/Regards,

René

Thanks. And no, I never tested whether the java functions were working despite the warning -- I'm not sure which parts of Libreoffice depend on Java, so wouldn't ,know how to test.




Reply to: