Issue 121984 - Selecting a JRE does not recognize the JRE
Summary: Selecting a JRE does not recognize the JRE
Status: CLOSED OBSOLETE
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-31 22:46 UTC by Chloe
Modified: 2017-05-20 10:04 UTC (History)
3 users (show)

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


Attachments
Select a JRE (9.48 KB, image/png)
2013-03-31 22:46 UTC, Chloe
no flags Details
Invalid JRE error (5.84 KB, image/png)
2013-03-31 22:47 UTC, Chloe
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Chloe 2013-03-31 22:46:37 UTC
Created attachment 80486 [details]
Select a JRE

When trying to save as Word 2003 (XML), I get an error saying a JRE is required, even though it is already installed. 

C:\windows\system32>java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

I went to Tools > Options > OpenOffice > Java (empty list) > Add > Path to JRE, and it gave the error "The folder you selected does not contain a Java runtime environment."

See screenshots.
Comment 1 Chloe 2013-03-31 22:47:16 UTC
Created attachment 80487 [details]
Invalid JRE error
Comment 2 Ariel Constenla-Haile 2013-03-31 22:55:59 UTC
(In reply to comment #0)
> C:\windows\system32>java -version
> java version "1.7.0_17"
> Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

OpenOffice is a 32 bits application, you need a 32 bits Java Runtime Environment.

As you seem to be on Windows 64 bits, you may be affected by this known issue, too:
http://www.openoffice.org/development/releases/3.4.1.html#AOO3.4.1ReleaseNotes-KnownIssues
Apache OpenOffice 3.4.0 and 3.4.1 support Java 7, which is the recommended configuration; but (especially on 64-bit Windows) you might receive warnings about the Java version being defective. In that case, download and install the Microsoft Visual C++ 2010 Redistributable Package. If you still have problems, install the most current JRE 6 version.
http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe

Please try installing a 32 bits JRE (there is no need to uninstall the 64 bits version, as it may be needed by other 64 bits applications; you can have both 32 and 64 bits installed at the same time, they are installed in different folders).
If this 32 bits JRE is not recognized, install the MS Visual C++ Redist.
Comment 3 Edwin Sharp 2014-02-25 13:09:11 UTC
Obsolete per comment 2