First time here? Check out the FAQ!
asked 2012-05-27 20:02:12 +0200
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I keep getting error messages regarding my java runtime environment. I've tried re-installing both java and libre office, but there is no change. The first error message reads: "Openoffice.org requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - OpenOffice.org - Java." Then a second error message pops up, "The connection to the data source "New Database" could not be established. No Java installation could be found. Please check your installation." When I go to Tools - Options - Java, there is my java - it says, "Oracle Corporation, version 1.7.0_04". Is there a different one?
Thanks! :)
answered 2012-08-19 08:08:49 +0200
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Rolling back to 1.6 build JRE is a work around, but JRE 1.7 builds are fully functional.
Must have a 32bit Java Runtime Environment, and correct environment/path to the JRE bin. Oracle JRE installers also place copies of JRE into the C:\Windows\sytem32 directory--which can cause a 64-bit JRE to be used rather than a 32-bit JRE.
If you have this problem, check the settings listed in javasettings_Windows_x86.xml in your per-user profile, e.g. C:\Users\<username>\AppData\Roaming\LibreOffice\3\user\config.
The .xml configurations must match the system JRE configuration. Problem for folks has been an .xml that lists 1.6 JRE while they have upgraded to a 1.7 JRE build.
Solution is to set PATH and JAVA_HOME variables, and delete the javasettings_Windows_x86.xml allowing it to rebuild with defaults resolved from system PATH variable. Removing the JRE copies from C:\Windows\system32 helps assure correct JRE as established by PATH is used.
answered 2012-06-21 20:30:54 +0200
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I found this problem occurs in Base in both OpenOffice and LibreOffice, which points to a Java problem. Uninstall 1.7.0 and install 1.6.0_33 . It worked for me!
answered 2012-08-19 11:16:24 +0200
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I have seemingly the same problem on Os X 10.5, my JRE is 10.6_26 (Java HotSpot™ 64-Bit Server VM - build 20.1-b02-384, mixed mode), Base says I don't have any JVM, I tried getting rid of preferences, selecting the Java VM in preferences, restarting LO to no avail. Is there a workaround? Will it be fixed in 3.6.1?
BTW, I hoped the wizards for forms and reports had been fixed. Well, they didn't…
answered 2012-08-23 17:43:42 +0200
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Well, vsfoote's answer is interesting, but also a bit of a faff! One shouldn't have to go through all that rigmarole. Wouldn't it be nice if JRE installed correctly when updating?
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-05-27 20:02:12 +0200
Seen: 2,550 times
Last updated: Aug 23 '12
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.