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

Bug#637829: Warning: failed to launch javaldx



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é
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: