To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=44608
------- Additional comments from [EMAIL PROTECTED] Thu Mar 17 23:20:32 -0800 2005 ------- Here is some explanation for what is happening. When OOo searches for a suitable JRE it starts the java executable from every JRE it finds, to find out what system properties it has. Currently the version,vendor,home,and accessibility property are used. The properties are obtained by running a small program which is contained in JREProperties.class which is to be found in the program directory. It gets the properties and prints them using System.out.println. The values are encoded, so that we are independent of any encoding of the console. This program is started from with the sunjavaplugin.dll (jvmfwk/plugins/sunmajor/pluginlib/util.cxx , getJavaProps) by osl_executeProcessWithRedirectedIO. After the process is started we read the output stream and the error stream and wait until the process has terminated (there is a time out). It turned out, that the reading from the output stream blocked. All data have so far be read. It appeared that the Java process did not close the stream properly. We also tried out another constellation, where both, error and output stream are read asynchroniously, after the process had terminated. That is first, we waited on the process ot finish and then joined on the reader threads. Again the first thread on which we joint blocked. Probably in the same ReadFile system call. This behaviou was caused by using Toolkit tk = java.awt.Toolkit.getDefaultToolkit(); in JREProperties.class This call is necessarry to get the system property which tells us if a accessibiilty bridge is installed. The work around is, that when running on Windows 98 this call is not made. Another strange thing is this. When OOo was started the first time, it froze when searching for JREs. Then after the process was killed and started a second time then it worked. Or one could run JREProperties in a console and afterwords start OOo. Then it worked too. --------------------------------------------------------------------- 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]