Recently began to become familiar with XMPP-based iOS small programming, where the configuration of the server encountered a little trouble, because of the choice of Openfire+spark server configuration scheme, OpenFire in the Mac OS10.10 a compatibility problem.
Take the blogger's own computer's Java environment as an example, here is the workaround: jdk8u45
1. Make sure the JDK is properly installed on your computer
2. Open the terminal and enter the following:
PS: If the input./openfire.sh is displayed, permission denied is shown, you can turn off the terminal again to enter sudo chmod-r 777/usr/local/openfire/bin to get folder permissions, Then continue to press to enter.
PPS: The current situation: After each restart of the computer, OpenFire will be unable to start the service situation, the current blogger's solution is each time from the terminal input these things can be resolved.
About OpenFire solutions that cannot start a service in Mac OS.