Ask Your Question
1

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

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

markl gravatar image markl
11 1 1 2

updated 2012-03-02 15:46:19 +0200

MagicFab gravatar image MagicFab flag of Canada
690 5 12 23
http://wiki.documentfound...

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?

delete close flag offensive retag edit

3 Answers

Sort by » oldest newest most voted
1

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

peterR gravatar image peterR
161 1 4

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!!

link delete flag offensive edit
0

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

drone27of1 gravatar image drone27of1 flag of Canada
216 6

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

link delete flag offensive edit
0

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

markl gravatar image markl
11 1 1 2

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).

link delete flag offensive edit

Login/Signup to Answer

Donate

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!

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 1,227 times

Last updated: Mar 02 '12