Apache OpenOffice (AOO) Bugzilla – Issue 118352
Enhance OOo to detect JRE 7.0 version
Last modified: 2012-06-19 06:01:46 UTC
After a Update of Java 7.0 OOo detect not the path to Java and I can it not select manual so that I mast disabled Java.
Monday, August 01, 2011 I first saw this reported on OOOForum.org and tested with Oracle Open Office 3.3.1 to confirm the problem on a WinXP system. Phil
I have a x64 Windows 7 Enterprise with java 7u1 i586 and java 7u1 x64 installed. None of these are found by OOo. I installed java 6u29 i586 and OOo found this java /Jakob
This is correct. OOo 3.3 cannot detect any JRE that is 64-bit. You have to use a 32-bit but only JRE 6u(xyz) is possible, version 7 will come later. AFAIK this is for all platforms.
Started. Base problem: "Oracle Corporation" is not recognized as a valid vendor.
Funny. The same problem showed up in a different way (Maven POM checking of java.vendor) at https://issues.apache.org/jira/browse/ODFTOOLKIT-299
*** Issue 118749 has been marked as a duplicate of this issue. ***
Fixed with revision 1229371 I will wait to resolve this as fixed until someone can confirm it is actually fixed.
@Ariel, What configurations do you need to see confirmed? (And where are the builds?).
(In reply to comment #8) > @Ariel, > > What configurations do you need to see confirmed? * Install the JRE 7 in the default location * Install the JDK 7 in the default location they both should appear in the dialog Tools - Options - OpenOffice.org - Java For example, I have installed: C:\Archivos de programa\Java\jre6 C:\Archivos de programa\Java\jre7 C:\Archivos de programa\Java\jdk1.6.0_19 C:\Archivos de programa\Java\jdk1.7.0_02 The option dialog shows the 4 JRE automatically: http://people.apache.org/~arielch/images/Java7_WinXP.png * JREs not installed but placed on non-default locations won't appear on the dialog by default, but can be added by pressing the "Add" button and selecting the folder For example, I have copies of the JREs in C:\java\jre6 C:\java\jre7 These folders can be selected, and AOO should list the JRE in the Options dialog. >(And where are the builds?). IIRC you are a Windows guy, so you can try the Windowos builds from http://people.apache.org/~arielch/packages/ For LINUX users: * AOO sould detect automatically JREs installed on default system locations. * you should be able to select any folder containing a valid JRE on any location and AOO should detect it. For example, in /opt/jdk1.7.0_02
As described, I've downloaded AOO from http://people.apache.org/~arielch/packages/. I've installed JRE 1.6.0_30, JRE 1.7.0_02 and JDK 1.7.0_02. In Tools Options all JREs and JDK will be detected. A quick test if all runtimes will be supported: Go 'File | Wizards | Webpage'. The webpage wizard won't open with JRE/JDK 1.7.0. The wizard works as expected wit JRE 1.6.0. We should not detect 1.7.0 if it's not supported.
Under win7 in version http://people.apache.org/~orw/DevSnapshots-Rev.1229535/win32/OOo-Dev_OOO340m1_Win_x86_install_en-US.exe When I start the Webpage Wizard: I get Debug Output --------------------------- Error: SfxHTMLParser::SfxHTMLParser: Wo kommt der ZS her? From File c:/AOO/sources/firsttasks/main/sfx2/source/bastyp/sfxhtml.cxx at Line 79 Abort ? (Yes=abort / No=ignore / Cancel=core dump) Click no, then second debug error: --------------------------- Debug Output --------------------------- Error: Don't close the medium when loading documents! From File c:/AOO/sources/firsttasks/main/sfx2/source/doc/objmisc.cxx at Line 1444 Abort ? (Yes=abort / No=ignore / Cancel=core dump) Click No, and the wizard starts. May be the version builded with debug enabled?
Created attachment 77129 [details] File | Wizards | Webpage working with JRE/JDK 7
(In reply to comment #10) > As described, I've downloaded AOO from > http://people.apache.org/~arielch/packages/. I've installed JRE 1.6.0_30, JRE > 1.7.0_02 and JDK 1.7.0_02. In Tools Options all JREs and JDK will be detected. > A quick test if all runtimes will be supported: Go 'File | Wizards | Webpage'. > The webpage wizard won't open with JRE/JDK 1.7.0. Tested on WinXP and Windows 7, with JRE and JDK 7 (all 32 bits), that wizard works for me. > The wizard works as expected > wit JRE 1.6.0. > We should not detect 1.7.0 if it's not supported. This is true. But it is another issue. We have to split: a) this issue, detect JRE 7.0 version b) issues with things that don't work with JRE 7 I will resolve (a) as fixed: JRE is detected. For (b), please open new bug reports of the kind "[java 7] XXX does not work ..."
Resolved as FIXED. Java 7 is now detected.
For this are two sides of one medal. Displaying Java 7 without supporting it is meaningless. It has to be fixed in one go.
(In reply to comment #15) > For this are two sides of one medal. Displaying Java 7 without supporting it is > meaningless. It has to be fixed in one go. This is why bugzilla has a "Blocks" field: bugs reporting some feature not working with Java 7 should block this bug. Where "block" means that this feature won't be integrated in a final release until those blocker issues are fixed.
Created attachment 77130 [details] Web Wizard working with JRE/JDK7 on Windows 7 (64 bits system, AOO 32 bits, Java 32 bits)
Revision 1229371
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.
java 7 works on my Windows 7, it can be detected and appears in the dialog Tools - Options - OpenOffice.org - Java. File->Wizards->web page also works
There seems to be a problem in AOO: https://issues.apache.org/ooo/show_bug.cgi?id=119525
(In reply to comment #21) > There seems to be a problem in AOO: > https://issues.apache.org/ooo/show_bug.cgi?id=119525 Both Bug 119525 and Bug 119993 cannot be reproduced, at least not by me, so for me they are unconfirmed.