Openfire wont start after install

Thanks to terrytan’s post it’s fixed.

I sloved by:

yum install java-1.7.0-openjdk.x86_64

cd /opt/openfire/jre/bin

cp java java.bak

rm java

ln -s /usr/bin/java java

Thank you

Another issue:

stack overflow at line 1824

Think I’ll go back to the old version.*
*

The proper way to switch Java is to edit /etc/sysconfig/openfire and modify JAVA_HOME

Just for future reference to others:

The zlib did not work for me either in CentOS 6.7, after installing.

What I did is follow the advice above this post.

I edited /etc/sysconfig/openfire

Then put JAVA_HOME=/usr/lib/jvm/java-1.8.0

.

it works, thankyouuu

It works for me.

Linux iZj6c4s0djlh8qbkm4a0dyZ 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.6.1810 (Core)