Bug 460325

Summary: oo doesn't recognize sun x86_64 jre
Product: [Fedora] Fedora Reporter: Michael J. Chudobiak <mjc>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: jnavrati
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-28 12:01:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael J. Chudobiak 2008-08-27 15:28:24 UTC
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):
jre-6u7-linux-x64.bin
openoffice.org-core-2.4.1-17.4.fc9.x86_64

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.

- Mike

Comment 1 Caolan McNamara 2008-08-27 21:54:56 UTC
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-1.6.0.0/jre", i.e. the "jre" dir in the install rather than "/usr/lib"

Comment 2 Michael J. Chudobiak 2008-08-28 12:01:52 UTC
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).

- Mike