To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83876
                 Issue #|83876
                 Summary|unopkg: java launch error in javaldx when no display
               Component|framework
                 Version|680m237
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mba
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Thu Nov 22 15:34:37 +0000 
2007 -------
On first start to detect java javaldx runs a java program which attempts to
detect accessibilty features if a11y is enabled, this fails if there is no
display. So in the following scenario unopkg fails to install a component...

a) The sysadm (or the distro on behalf of the sysadm) pre-accepts the license
for all his users without launching OOo, e.g. 

configimport -e
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/openoffice.org/RegisterAndLicence.xcu?rev=1.1

so root does not have a ~/.openoffice.org2 directory.

b) root has accessibility enabled, e.g.
gconftool-2 -t bool -s /desktop/gnome/interface/accessibility true

c) root now installs a package, e.g. writer2latex.uno.pkg for all his users
*without* a DISPLAY, e.g.

su - root
unset DISPLAY
rm -rf ~/.openoffice.org2*
unopkg add --shared ../BUILD/writer2latex05/writer2latex.uno.pkg

and the output is...

javaldx: Could not find a Java Runtime Environment! 
javaldx: Could not find a Java Runtime Environment! 

coming effectively from cd /opt/ooo/program
java JREProperties
(.:26679): Gtk-WARNING **: cannot open display:

So, here's a patch that enables in the unopkg script the feature
JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1
that avoids this problem.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to