Red Hat Bugzilla – Bug 460325
oo doesn't recognize sun x86_64 jre
Last modified: 2008-08-28 08:01:52 EDT
If I install Sun's jre-6u7-linux-x64.bin (in /usr/lib) in the normal fashion, Openoffice does not detect this jre. Attempting to add it in the tools>java dialog results in an error like "The folder you selected does not contain a Java runtime environment".
(Side note: the Sun jre-6u7-linux-i586.bin jre will not install on an x86_64 system).
Version-Release number of selected component (if applicable):
The default "Free Software Foundation 1.5.0" jre works, but it is brutally slow in my database applications.
It seems OO will not recognize Sun's jre in an x86_64 environment.
Why not just install the provided openjdk for x86_64. That'll get installed into a reasonable location, and with a reasonable configuration that makes it easy to auto-detect by OOo and get it listed by default in the java options. As a plus the java package is then known to rpm and yum etc, and its pretty much the same code as the sun java these post-freeing-java days.
Otherwise what is being asked for is a dir like "/usr/lib/jvm/java-1.6.0-openjdk-184.108.40.206/jre", i.e. the "jre" dir in the install rather than "/usr/lib"
Cripes, how many javas are there?
Anyway, thanks Caolan, that does solve my problem!
I guess I'll close the bug (although OO should still recognize the sun jre).