Apache OpenOffice (AOO) Bugzilla – Issue 66050
Java simple bootstrap may start wrong soffice
Last modified: 2017-05-20 11:31:33 UTC
The Java simple bootstrap mechanism uses two ways to locate an soffice installation. First, in odk/source/com/sun/star/lib/loader/InstallationFinder.java:1.3, things like UNO_PATH env var are used to ultimately locate juh.jar. Then, in javaunohelper/com/sun/star/comp/helper/Bootstrap.java:1.14, NativeLibraryLoader is used to locate soffice. If, for example, the bootstrapping Java application itself resides in the same directory as an soffice, that soffice will be found by NativeLibraryLoader. The correct solution would be to pass the path information from InstallationFinder to Bootstrap.bootstrap (e.g., overload Bootstrap.bootstrap(URL programDir)---which would be even less correctly placed in an URE module than Bootstrap.bootstrap already is).
.
See related issue 70428.
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Reset assigne to the default "issues@openoffice.apache.org".