Fail to start openfire 4.3.0 on MacOS Mojave(Version: 10.14.2)

What is the result of echo $JAVA_HOME

It’s should be export JAVA_HOME=`/usr/libexec/java_home`, you missed the `