https://bugs.freedesktop.org/show_bug.cgi?id=49580

             Bug #: 49580
           Summary: OfficeBean.jar references officebean.dll not
                    officebeanlo.dll
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.3 release
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Localisation
        AssignedTo: libreoffice-bugs@lists.freedesktop.org
        ReportedBy: terpstr...@interactionnext.nl


I think this bug report is not limited to the provided OS and hardware
(actually i run the x86 version on 64 bit windows 7)
This issue also occures on LibreOffice 3.5.2 (and other versions i expect.

In our application we use the officebean to embed OpenOffice and it's relatives
into our application. This works like a charm until LibreOffice is the
installed office application.

When using LibreOffice the following exception occures (i've stripped the
irrelevant lines generated by my code...)

Caused by: java.lang.UnsatisfiedLinkError: no officebean in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at
com.sun.star.lib.util.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:59)
    at
com.sun.star.comp.beans.LocalOfficeConnection.<clinit>(LocalOfficeConnection.java:127)
    at com.sun.star.comp.beans.OOoBean.startOOoConnection(OOoBean.java:210)
    at
<...my stuff...>

After some investigation it seems on LibreOffice many library files are renamed
from their OpenOffice name *.dll to *lo.dll

officebean.dll is also renamed to officebeanlo.dll

When i copy the library to it's original name (officebean.dll) my code works
just as I expect, and just like a vanilla OpenOffice.org installation.

I think changing the value for
com.sun.star.beans.LocalOfficeConnection.OFFICE_LIB_NAME to "officebeanlo" will
solve this bug.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to