Issue 66050 - Java simple bootstrap may start wrong soffice
Summary: Java simple bootstrap may start wrong soffice
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 680
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 12:47 UTC by Stephan Bergmann
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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".