openfireserver和jdk环境删除命令
一、卸载jdk1.8 终端依次运行以下的命令
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/Java
二、卸载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