Finding JVM in OpenOffice.org

Charles Curley charlescurley at charlescurley.com
Sat Jan 21 20:15:25 UTC 2006


I have several machines with FC4, as updated, OOo and Java on
them. Two, dragon and taltos, are set up almost identically. On
dragon, OOo cannot find a jvm.

I have...

  deleted
  ~/.openoffice.org2.0/user/config/javasettings_Linux_x86.xml. OOo
  simply rebuilds the file, and cannot find a JVM.

  Uninstalled both OOo and all java packages, then re-installed
  OOo. That should handle all dependencies. No go.

  Manually pointed OOo to /usr. No go.

What is OOo looking for, so that I can find out what is missing?

Neither machine has $JAVA_HOME set.

Packages on the deficient machine:

[root at dragon rpms]# pre \\\(gcj\\\|openoffice\\\) | sort
java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.2
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.2
java-1.4.2-gcj-compat-src-1.4.2.0-40jpp_31rh.FC4.2
libgcj-4.0.2-8.fc4
libgcj-devel-4.0.2-8.fc4
libgcj-src-4.0.2-8.fc4
openoffice.org-calc-2.0.1.1-5.1
openoffice.org-core-2.0.1.1-5.1
openoffice.org-draw-2.0.1.1-5.1
openoffice.org-impress-2.0.1.1-5.1
openoffice.org-writer-2.0.1.1-5.1

Packages on the known good machine:

[root at taltos ~]#  pre \\\(gcj\\\|openoffice\\\) | sort
java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.2
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.2
libgcj-4.0.2-8.fc4
libgcj-devel-4.0.2-8.fc4
openoffice.org-calc-2.0.1.1-4.1
openoffice.org-core-2.0.1.1-4.1
openoffice.org-draw-2.0.1.1-4.1
openoffice.org-impress-2.0.1.1-4.1
openoffice.org-writer-2.0.1.1-4.1
openoffice.org-xsltfilter-2.0.1.1-4.1

I believe alternatives is set up correctly.

[root at dragon rpms]# alternatives --display java
java - status is auto.
 link currently points to /usr/lib/jvm/jre-1.4.2-gcj/bin/java
/usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420
 slave jre: /usr/lib/jvm/jre-1.4.2-gcj
 slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj
 slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry
Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.

and

[root at taltos ~]# alternatives --display java
java - status is auto.
 link currently points to /usr/lib/jvm/jre-1.4.2-gcj/bin/java
/usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420
 slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry
 slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj
 slave jre: /usr/lib/jvm/jre-1.4.2-gcj
Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.

In the process of researching this problem, I read this bug:
http://qa.openoffice.org/issues/show_bug.cgi?id=43103. It has attached
a program, Props, which produced this output:

--------------------------------------------------
[ccurley at dragon OOo]$ java Props
path.separator=:
java.vm.name=GNU libgcj
java.vm.specification.name=Java(tm) Virtual Machine Specification
java.runtime.version=1.4.2
java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
java.vm.specification.version=1.0
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
gnu.classpath.home.url=file:///usr/lib
gnu.gcj.progname=Props
java.specification.version=1.4
java.library.path=
gnu.classpath.vm.shortname=libgcj
java.class.version=46.0
java.specification.name=Java(tm) Platform API Specification
os.version=2.6.14-1.1656_FC4
gnu.classpath.home=/usr
user.home=/home/ccurley
file.encoding=UTF-8
os.name=Linux
user.name=ccurley
java.class.path=.
java.io.tmpdir=/tmp
os.arch=i386
java.fullversion=GNU libgcj 4.0.2 20051125 (Red Hat 4.0.2-8)
user.language=en
java.specification.vendor=Sun Microsystems Inc.
user.dir=/home/ccurley/down/OOo
java.vm.info=GNU libgcj 4.0.2 20051125 (Red Hat 4.0.2-8)
java.version=1.4.2
java.ext.dirs=/usr/share/java/ext
sun.boot.class.path=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
java.vm.vendor=Free Software Foundation, Inc.
java.vendor.url=http://gcc.gnu.org/java/
java.vendor=Free Software Foundation, Inc.
file.separator=/
java.vm.version=4.0.2 20051125 (Red Hat 4.0.2-8)
http.agent=gnu-classpath/null (libgcj/4.0.2 20051125 (Red Hat 4.0.2-8))
gnu.cpu.endian=little
gnu.gcj.precompiled.db.path=/usr/lib/gcj-4.0.2/classmap.db
user.region=US
gnu.gcj.runtime.endorsed.dirs=/usr/share/java/gcj-endorsed
--------------------------------------------------

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060121/a40881b1/attachment-0002.bin 


More information about the users mailing list