OpenOffice opening error

Issues with installing under all GNU/Linux Distributions
Post Reply
p1710
Posts: 6
Joined: Thu Dec 28, 2017 9:23 pm

OpenOffice opening error

Post 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
openoffice 4 on cents os 7 version
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: openoffice opening error

Post by RoryOF »

Have you restarted computer since installing Java?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
p1710
Posts: 6
Joined: Thu Dec 28, 2017 9:23 pm

Re: openoffice opening error

Post by p1710 »

No, will check it
openoffice 4 on cents os 7 version
p1710
Posts: 6
Joined: Thu Dec 28, 2017 9:23 pm

Re: openoffice opening error

Post by p1710 »

after rebooting my system went into emergency mode
and i am unable to login into system now
please find attached image file
Attachments
Linux.jpg
openoffice 4 on cents os 7 version
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: openoffice opening error

Post by RoryOF »

I think you will need to ask on a Centos forum; this looks like an operating system problem.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
p1710
Posts: 6
Joined: Thu Dec 28, 2017 9:23 pm

Re: OpenOffice opening error

Post 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
openoffice 4 on cents os 7 version
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice opening error

Post by RoryOF »

On my Xubuntu system I have installed openjdk-8-jre using synaptic.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
p1710
Posts: 6
Joined: Thu Dec 28, 2017 9:23 pm

Re: OpenOffice opening error

Post by p1710 »

but i am having centOS 7, i have installed everything, but still not working
openoffice 4 on cents os 7 version
User avatar
RoryOF
Moderator
Posts: 34570
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: OpenOffice opening error

Post 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*.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
p1710
Posts: 6
Joined: Thu Dec 28, 2017 9:23 pm

Re: OpenOffice opening error

Post by p1710 »

i have removed libreoffice, but still same issue
openoffice 4 on cents os 7 version
frogsbreath
Posts: 1
Joined: Tue Jan 15, 2019 1:01 am

Re: OpenOffice opening error

Post 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
OpenOffice 3.1 on Windows Vista
Post Reply