Ask Your Question

How do I select the Sun JRE with LibreOffice 3.5 on GNU/Linux? [closed]

asked 2012-02-24 10:04:46 +0100

anonymous user


updated 2015-10-15 05:21:16 +0100

Alex Kemp gravatar image

I've just installed LibreOffice 3.5 on a CentOS 5 system with the Sun Java Runtime Environment (JRE) installed. On starting up LO it complains that it cannot find a JRE.

If I try to select the Sun JRE (Tools->Options->LibreOffice->Java) and I navigate to the Sun JRE directory (/usr/java/default) it says that the directory does not contain a JRE. What is the correct way to select the Sun JRE in LO 3.5?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-15 05:21:28.057793

3 Answers

Sort by » oldest newest most voted

answered 2012-02-27 22:51:09 +0100

peterR gravatar image

are you by any chance running a 64bit CentOS and did you download the i386 rather than 64bit version of LO? I did (on Kubuntu) and have just discovered my error, removed the i386 and installed the 64bit and now my jre is detected!!

edit flag offensive delete link more

answered 2012-03-02 13:03:20 +0100

markl gravatar image

I was just about to try going back to 3.4 or using openJDK when the penny dropped... I had a similar issue to Peter R - but in my case I'd installed the 64-bit version of LibreOffice and I had a 32-bit version of Java (still need that for the Firefox plugin). Having both 32-bit works fine (will go to both 64-bit on CentOS 6 I hope).

edit flag offensive delete link more

answered 2012-02-24 10:31:48 +0100

drone27of1 gravatar image

On Mint 11 here. LO picked up "/usr/lib/jvm/java-6-sun-" automatically
Had a different version as well and manually pointed to "~/jre1.6.0_30" and LO did the rest.

edit flag offensive delete link more

Question Tools


Asked: 2012-02-24 10:04:46 +0100

Seen: 2,177 times

Last updated: Mar 02 '12