Issue 66050

Summary: Java simple bootstrap may start wrong soffice
Product: udk Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680   
Target Milestone: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Stephan Bergmann 2006-06-02 12:47:16 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).
Comment 1 Stephan Bergmann 2006-06-02 12:48:04 UTC
.
Comment 2 Stephan Bergmann 2007-01-25 13:32:21 UTC
See related issue 70428.
Comment 3 Martin Hollmichel 2007-12-07 13:00:42 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 4 Marcus 2017-05-20 11:31:33 UTC
Reset assigne to the default "issues@openoffice.apache.org".