Apache OpenOffice (AOO) Bugzilla – Issue 84757
"JRE defective" alert whenever JVM called
Last modified: 2008-07-22 07:45:07 UTC
Any task that calls the JVM -- launching OOo, using any tool that needs Java, etc. -- causes an alert "OpenOffice.org requires a Java runtime to perform this task. The selected JRE is defective ...", etc. I just downloaded OOo 2.3.1 and upgraded from 2.3. I have six JREs, 3 as standalone JVMs and 3 include with JDKs. They are version 1.6.0, 1.6.0_02, and 1.6.0_03. When I open Tools > Options > OpenOffice.org > Java dialogue, the list of installed JREs is blank! After 20 seconds or more the list of installed JREs slowly fills up. I have chosen the user public JRE 1.6.0_03. But if the dialogue is closed and re-opened, the list is again blank and again fills slowly. It is clear that somehow the location of the chosen JRE is lost, because the "JRE defective" alert again appears when any JVM-dependent task is activated.
Created attachment 50468 [details] Shows alert when JVM not found
+1 The loading of the installed JREs is extremely slow: It appears that OO is crashed (although it isn't), because it does not react to any user-input while loading the list of installed JREs.
hfinger, for starters try recreating user profile. For that you need to close all Office apps (including quickstarter), rename C:\Documents and Settings\[USERNAME]\Application Data\openoffice2.org\user to something else and start any office app. If that fixes the problem please zip the folder and attach resulting file here.
I recreated the /user folder as you instructed. Then I launched OpenOffice.org 2.3.1 and set the preferred 1.6.0_03 JVM in the Options dialogue. Then I closed OOo, relaunched it, and checked the Options dialogue again. The list of JVMs was blank but slowly filled up after about 15 sec delay. The attachment OpenOffice2.org.zip contains /user (the new folder) and /user-bak (the former folder).
Created attachment 50743 [details] Original /user folder plus recreated /user folder
Created attachment 50744 [details] Original /user folder plus recreated /user folder
Please check the "User-Installation-path" to the Office-Installation within the bootstrap.ini (OOo\program\). The path must be a valid file-url (eg... "UserInstallation=$SYSUSERCONFIG/OpebOffice...")
reop
Setting duplicate to issue 76385 *** This issue has been marked as a duplicate of 76385 ***
Closing issue.