To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111655
                 Issue #|111655
                 Summary|in build environment, call javaldx with $JAVA_HOME pre
                        |set
               Component|tools
                 Version|DEV300m77
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|sb





------- Additional comments from s...@openoffice.org Mon May 17 15:31:49 +0000 
2010 -------
When, within the build environment, javaldx within the solver is called,
jvmfwk3rc in solver lib makes sure to use the Java at $JAVA_HOME, instead of
searching for an appropriate one.  However, when, within the build environment,
a javaldx from an OOo installation set is called (as happens when
register_extensions in solenv/bin/modules/installer/simplepackage.pm calls
unopkg, and when C++ and Java OfficeConnection functionality from test module
calls soffice), it will search for an appropriate Java (or pick any that happens
to be specified by ~/.ure).

This can lead to problems:  For example, there happen to be Solaris Intel
environments at Sun-Hamburg that have in their PATHs a java that hangs when
called from javaldx without a DISPLAY variable set.  This can cause building
instsetoo_native to hang.

The previous fix for this problem
(<http://hg.services.openoffice.org/cws/sb118/rev/3a83f951e8d2>, setting both
UNO_JAVA_JFW_ENV_JREHOME and UNO_JAVA_JFW_ENV_CLASSPATH) has been backed out
again (<http://hg.services.openoffice.org/cws/sb118/rev/208f893f0799>), as the
setting for UNO_JAVA_JFW_ENV_CLASSPATH pointing into the solver caused problems.

A second attempt is to only set UNO_JAVA_JFW_ENV_JREHOME, but not
UNO_JAVA_JFW_ENV_CLASSPATH.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@tools.openoffice.org
For additional commands, e-mail: issues-h...@tools.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to