先展示一下错误
解决方案很简单,卸载jdk,openfire之后,重新安装就行
步骤如下:
(1)卸载jdk1.8 终端依次执行下面的命令
sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
rm -rf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
rm -rf /Library/Java
(2)卸载openfire 终端执行下面的命令
sudo rm -rf /usr/local/openfire
sudo rm -rf /Library/PreferencePanes/Openfire.prefPane
sudo rm -rf /Library/LaunchDaemons/org.jivesoftware.openfire.plist
sudo rm -rf /private/var/db/dslocal/nodes/Default/users/openfire.plist
sudo rm -rf /Library/Receipts/Openfire.pkg
(3)重新安装jdk1.8
(4)重新安装openfire