Bug 78855 - Don't find valid JRE with java 8
Summary: Don't find valid JRE with java 8
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 10:36 UTC by Riccardo Ricci
Modified: 2014-05-18 19:19 UTC (History)
1 user (show)

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 Riccardo Ricci 2014-05-18 10:36:39 UTC
I have an installed Java 8 SDK 1.8.0_5 from official ORACLE site and relative JRE. In Libreoffice 4.2.4, when I set the JRE in (Tools -> Advanced) the virtual machine can be added, but LibreOffice BASE ask a valid JRE.
Comment 1 V Stuart Foote 2014-05-18 16:53:32 UTC
(In reply to comment #0)
> I have an installed Java 8 SDK 1.8.0_5 from official ORACLE site and
> relative JRE. In Libreoffice 4.2.4, when I set the JRE in (Tools ->
> Advanced) the virtual machine can be added, but LibreOffice BASE ask a valid
> JRE.

Setting needinfo.

Have you installed the 32-bit buld?  LibreOffice will not run on a 64-bit JRE, either installed with the JDK or just the JRE.

Have you cleared your user configuration javasettings_Windows_x86.xml from your profile? If the system path correctly establishes path to the bundled JRE (32-bit) LibreOffice should detect it.

Have to verify it, but there is a chance (if 32-bit JRE is on PATH) that the vendor signature for JAVA has again changed--this bit us at the SE JRE 1.6 -> JRE 1.7 cross over when Oracle changed the name from Sun.
Comment 2 V Stuart Foote 2014-05-18 17:09:13 UTC
In fairness, beside the 32-bit JRE requirement. there could be another issue, regards use with BASE.

The embedded default HSQLDB continues to require a 32-bit JRE, but I have NO idea how it behaves with JRE 1.8--if it is even compatible.  Also, the BASE ReportBuilder and ReportDesigner remain JRE dependent--also not sure how those behave with JRE 1.8

But if you can live with out the Report tools, you might simply deactivate the JRE, and enable the "experimental" FireBird database from Tools -> Options -> Advanced panel "Enable experimental features" check box.  Check that, uncheck the "Use a Java runtime environment" and restart.

Any improvement in BASE?
Comment 3 V Stuart Foote 2014-05-18 19:18:51 UTC
On Windows 7 sp1, 64-bit

Removed all Java SE JRE 1.7 and installed the Java SE JRE 1.8u05 32-bit.

Dev builds of LibreOffice 4.2.5 and 4.3.0 both recognize the JRE from the Tools -> Options -> Advanced Java panel, so not a repeat of bug 39659.

JRE 1.8u05 bundles Java Access Bridge 2.0.4--that all seems to work correctly with JavaFerret/JavaMonkey and the SwingSet2.jar demo.

With the JRE 1.8u05 correctly configured with system PATH, JRE_HOME and JAVA_HOME variables set--no issues with launching BASE on 4.2.5 or 4.3.0 builds.  The Report wizards also seemed to function with a cursory run through. But I'm not much of a BASE user.

I'm calling this WFM.  Suggest you verify that you have correctly exposed the 32-bit JRE from your JDK install. If it is not, that is likely the issue.