On Sun, 2007-03-18 at 14:55 +0000, Andrew Haley wrote:
Mark Wielaard writes:
>
OpenOffice.org seems unhappy though. When starting it it spins for a
> while (100% cpu for 5 seconds) and then just says:
> $ ooffice
> javaldx: Could not find a Java Runtime Environment!
> (It does then start up though)
OK. I suspect that the first place to start looking for that is
java-1.5.0-gcj.
$ rpm -q java-1.5.0-gcj
java-1.5.0-gcj-1.5.0.0-4.fc7
java-1.5.0-gcj-1.5.0.0-4.fc7
I guess you've already made sure your alternatives
are pointing to the right place.
$ /usr/sbin/alternatives --display java
java - status is auto.
link currently points to /usr/lib/jvm/jre-1.5.0-gcj/bin/java
/usr/lib/jvm/jre-1.5.0-gcj/bin/java - priority 1500
slave keytool: /usr/lib/jvm/jre-1.5.0-gcj/bin/keytool
slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj/bin/rmiregistry
slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj
slave jre: /usr/lib/jvm/jre-1.5.0-gcj
/usr/lib/jvm/jre-1.5.0-gcj.x86_64/bin/java - priority 1500
slave keytool: /usr/lib/jvm/jre-1.5.0-gcj.x86_64/bin/keytool
slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj.x86_64/bin/rmiregistry
slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj.x86_64
slave jre: /usr/lib/jvm/jre-1.5.0-gcj.x86_64
Current `best' version is /usr/lib/jvm/jre-1.5.0-gcj/bin/java.