Page 1 of 1
OpenOffice opening error
Posted: Thu Dec 28, 2017 9:48 pm
by p1710
Hi
i have installed openoffice when i am trying to open openoffice getting below error
i have installed java
[root@localhost en-US]# openoffice4
javaldx: Could not find a Java Runtime Environment!
/opt/openoffice4/program/soffice.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
my java version
[root@localhost en-US]# java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
please help to get resolve
Thanks in advance
Re: openoffice opening error
Posted: Thu Dec 28, 2017 9:58 pm
by RoryOF
Have you restarted computer since installing Java?
Re: openoffice opening error
Posted: Thu Dec 28, 2017 10:05 pm
by p1710
No, will check it
Re: openoffice opening error
Posted: Thu Dec 28, 2017 10:43 pm
by p1710
after rebooting my system went into emergency mode
and i am unable to login into system now
please find attached image file
Re: openoffice opening error
Posted: Thu Dec 28, 2017 10:45 pm
by RoryOF
I think you will need to ask on a Centos forum; this looks like an operating system problem.
Re: OpenOffice opening error
Posted: Tue Jan 02, 2018 9:39 pm
by p1710
Hi
i have rebooted system after installing Java
but still same error
[root@localhost ~]# soffice
javaldx: Could not find a Java Runtime Environment!
/opt/openoffice4/program/soffice.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
Re: OpenOffice opening error
Posted: Tue Jan 02, 2018 10:37 pm
by RoryOF
On my Xubuntu system I have installed openjdk-8-jre using synaptic.
Re: OpenOffice opening error
Posted: Tue Jan 02, 2018 10:40 pm
by p1710
but i am having centOS 7, i have installed everything, but still not working
Re: OpenOffice opening error
Posted: Tue Jan 02, 2018 10:51 pm
by RoryOF
I tried an "out of the box" CentOS installation the other day, and OpenOffice 4.1.5 opened without problems, no demand for Java. I cannot say whether there was ir was not a Java installed by default, as I have not currently access to that computer. Befire installing OO, I did remove libreoffice*.
Re: OpenOffice opening error
Posted: Tue Jan 02, 2018 10:55 pm
by p1710
i have removed libreoffice, but still same issue
Re: OpenOffice opening error
Posted: Tue Jan 15, 2019 1:07 am
by frogsbreath
locate your openoffice install directory.
likly /opt/openoffice4 on redhat
locate your jre home, lets say its /opt/jdk
check to see if you have a profile for your jdk under /opt/jdk.
If there is one, make sure it is being sourced, if not consider creating one.
open soffice and scroll down to the my_path=`javadlx some bad programmer should be fired`
replace with my_path=/opt/jdk
above that line you could do JAVA_HOME=/opt/jdk
if your jdk is being exported in bash profile you should replace the top line from #!/bin/sh to #!/bin/bash
finally contact open office and politly request that they learn to code.
your welcome