Bug 42754 - LibO 3.4.4 and Java7u1 causes crash
Summary: LibO 3.4.4 and Java7u1 causes crash
Status: RESOLVED DUPLICATE of bug 39659
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.4.4 release
Hardware: Other Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 11:51 UTC by Jochen Blacha
Modified: 2011-11-14 10:41 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Blacha 2011-11-09 11:51:56 UTC
I installed the latest LibreOffice 3.4.4 release and am facing some problems with Java now ...

LibO 3.4.3, which was installed before, worked perfectly.

What I did:
- Uninstalled LibreOffice 3.4.3
- Ran CCleaner and did some manual registry cleaning
- Installed LibreOffice 3.4.4
* I customized the installation path to read "C:\Program Files (x86)\LibreOffice" and I deselected the Quickstarter - left the rest at its defaults.

Upon starting LibO 3.4.4 I experienced an application fault.

I moved %APPDATA%\LibreOffice to %APPDATA%\LibreOffice.backup and started LibO anew - this time it fully loaded up with tons of "requires a JRE" warnings.

I did some tinkering and found out that deleting %APPDATA%\LibreOffice\3\user\config\javasettings_Windows_x86.xml resolved the application fault - it loaded up again with several "requires a JRE" warnings.

In the "Java" preferences LibO does NOT recognize the already installed Java JRE.

Now, this problem happens on ...

Windows 7 x64 Professional with Java JDK 7u1 (also contains the JRE)
Windows 7 Home Premium (x86) with Java JDK 7u1 (also contains the JRE)

The problem did NOT exist on the previous LibreOffice 3.4.3 install.

Note that I can NOT switch to JDK/JRE6 as I need JDK7 installed for the Android SDK.
Comment 1 V Stuart Foote 2011-11-14 08:54:44 UTC
Jochen,

The problem is only having the JDK 7 present, which is not being recognized as providing a valid JRE.  Reported in Bug 39659 (https://bugs.freedesktop.org/show_bug.cgi?id=39659)

As a simple work around reinstall a JRE 6 release, and associate LibreOffice with it from Tools > LibreOffice > Java menu.

Doing this, the JDK 7 remains undisturbed for development, and its JRE remains default for other use.

Note: in choosing which JRE 6 to install, performance issues the Java JNI thread stack for OO/LO BASE occur with Java versions > 1.6u23, so suggest reinstall 1.6u20, 1.6.u21, or 1.6u22  
See this bug report:  https://bugs.freedesktop.org/show_bug.cgi?id=35023

Regards,

Stuart
Comment 2 V Stuart Foote 2011-11-14 10:41:19 UTC

*** This bug has been marked as a duplicate of bug 39659 ***