Red Hat Bugzilla – Bug 234425
javaldx: Could not find a Java Runtime Environment! (java-1.4.2-gcj-compat vs java-1.5.0-gcj-compat)
Last modified: 2007-11-30 17:12:00 EST
Description of problem:
javaldx: Could not find a Java Runtime Environment!
$ rpm -qf /usr/lib/openoffice.org/program/javaldx
Disable "Use a java runtime eviniroment" in java optins, this problem doesn't
Version-Release number of selected component (if applicable):
Steps to Reproduce:
High cpu usage in options-java
find java runtime enviroment
I don't see this myself with everything up to date as above
What's the output of rpm -q java-1.5.0-gcj ?
Is there a ~/.openoffice.org2.0/user/config/javasettings_Linux_x86.xml can you
attach that file here.
Following that you could also try and
rm -rf ~/.openoffice.org2.0 and afterwareds attach the output of
strace -f /usr/lib/openoffice.org/program/javaldx > /tmp/strace.log 2>&1
maybe the move from java-1.4.2 to java 1.5.0 has confused something.
$ rpm -qa | grep ^java
$yum install java
Installed: java-1.5.0-gcj.i386 0:126.96.36.199-11.fc7
Dependency Installed: java_cup.i386 1:0.10-0.k.6jpp.1 sinjdoc.i386 0:0.5-3.fc7
this problem( bug 234425 ) doesn't happen.
$ rpm -qR openoffice.org-core
So openoffice.org-core package must requires java-1.5.0-gcj package.
I would have expected the yum update to replace compat 1.4.2 with the compat
1.5.0, it did for me I think seeing as rpm -q --provides java-1.5.0-gcj shows
that it provides a java-1.4.2-gcj-compat > 188.8.131.52-40jpp.111.
Anyway, I can add a Requires: java = 1.5.0 to OOo. That should force the
inclusion of the compat (I don't want to require the compat directly so we can
support people who want to use jpackage to swap in an alternative java soltion)