Issue 84757 - "JRE defective" alert whenever JVM called
Summary: "JRE defective" alert whenever JVM called
Status: CLOSED DUPLICATE of issue 76385
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.3.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 14:23 UTC by hfinger
Modified: 2008-07-22 07:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Shows alert when JVM not found (6.37 KB, image/png)
2007-12-19 14:27 UTC, hfinger
no flags Details
Original /user folder plus recreated /user folder (8.64 MB, application/x-compressed)
2008-01-08 22:50 UTC, hfinger
no flags Details
Original /user folder plus recreated /user folder (8.64 MB, application/x-compressed)
2008-01-08 23:41 UTC, hfinger
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hfinger 2007-12-19 14:23:25 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.
Comment 1 hfinger 2007-12-19 14:27:17 UTC
Created attachment 50468 [details]
Shows alert when JVM not found
Comment 2 holgerbrandl 2007-12-19 21:51:00 UTC
+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.
Comment 3 kpalagin 2008-01-08 20:30:08 UTC
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.
Comment 4 hfinger 2008-01-08 22:24:17 UTC
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).
Comment 5 hfinger 2008-01-08 22:50:53 UTC
Created attachment 50743 [details]
Original /user folder plus recreated /user folder
Comment 6 hfinger 2008-01-08 23:41:18 UTC
Created attachment 50744 [details]
Original /user folder plus recreated /user folder
Comment 7 thorsten.martens 2008-01-21 10:56:41 UTC
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...")
Comment 8 joerg.skottke 2008-07-22 07:41:43 UTC
reop
Comment 9 joerg.skottke 2008-07-22 07:42:50 UTC
Setting duplicate to issue 76385

*** This issue has been marked as a duplicate of 76385 ***
Comment 10 joerg.skottke 2008-07-22 07:45:07 UTC
Closing issue.