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.
Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=708229dc96533b6f165b82ce4d9e07537d1ce8b1 fdo#49580: Fix bean after gbuild'ification
Created attachment 61143 [details] OOoBean test
Created attachment 61144 [details] OOoBean test
Created attachment 61146 [details] OOoBean test: fixed Makefile
As I did not find any working test code for OOoBean (and the SDK OOoBeanViewer.java example does not work out of the box): attached Makefile and OOoBeanViewer.patch work for my current (toward LO 3.6) master build (unxlngx6) -- you need to adapt INSTALLATION in Makefile, then running make should start soffice and the "OpenOffice.org demo", and in the latter "new document... - Text Document" should open one.
(In reply to comment #5) > attached Makefile and > OOoBeanViewer.patch work for my current (toward LO 3.6) master build (unxlngx6) ...which needs to include <http://cgit.freedesktop.org/libreoffice/core/commit/?id=6752930497d1c9d0d1ebb29113e89bdaf9e53aaa> "LocalOfficeConnection description must end in ServiceManager"
Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0f555363a3e12d45c3c1d7dcb26e32dc2dcf0ce2&g=libreoffice-3-5 fdo#49580: Fix bean after gbuild'ification It will be available in LibreOffice 3.5.4.