Issue 66050 - Java simple bootstrap may start wrong soffice
Summary: Java simple bootstrap may start wrong soffice
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:
Depends on:
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: ---


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/, things like
UNO_PATH env var are used to ultimately locate juh.jar.  Then, in
javaunohelper/com/sun/star/comp/helper/, 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
Comment 4 Marcus 2017-05-20 11:31:33 UTC
Reset assigne to the default "".