How Does OOo Recognize a JRE?

Issues with installing under all GNU/Linux Distributions
Post Reply
pdxlooie
Posts: 7
Joined: Wed Apr 29, 2009 10:23 pm
Location: Naugatuck CT USA

How Does OOo Recognize a JRE?

Post by pdxlooie »

OO 3.3.0
OOO330m20 Build 9567
Installed on Slackware 13.1.

The tool shows the JRE as being installed in /usr/lib/gcj-4.2.4, a directory that has just these files in it.

classmap.db libgjsmalsa.la libgjsmalsa.so libjvm.a libjvm.la libjvm.so

Attempts to add the current JRE fail with the message that no JRE was found in that directory. I have JDK 1.7 installed. Pointing to /usr/local/jdk-1.7.0/jre, /usr/local/jdk-1.7.0/jre/bin, &c all fail with the same message, "The folder you selected does not contain a Jara runtime environment." Hence the question: what DOES constitute a Java runtime environment, in the view of OO? Because it seems to me like the pointer should go to the top-level directory, /usr/local/jdk-1.7.0/jre. But, I'm wrong.

Thanks.

mp
OOo 3.0.X on Ms Windows XP + Ubuntu Linux
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: How Does OO Recognize a JRE?

Post by PGAGA »

October 31, 2011

At this point in time there is no OOo build which recognizes Java 7 (although the current LO RC may have it - I am downloading now). This is due to how Java 7 declares itself. There are two (if I remember the number correctly) OOo files which need to be modified for OOo to find it.

Phil
OpenOffice.org 3.2.x, StarOffice 5.1, 7, 8 - OS X, WinXP, OS/2
StarOffice 7, 8, Oracle Open Office 3.3.1, LibreOffice 3.x.x - OS X, Ubuntu, WinXP
NeoOffice 2.2.6, 3.1.2, 3.2.x 3.3 - OS X
Apache OpenOffice 3.4.x - WinXP, OS X, OS/2
Post Reply