配置java sdk后 openfire无法打开

java -version(jdk1.8.0_25)

 

studio11s-mbp:~ mbzl$   sudo chmod -R 777 /usr/local/openfire/bin

 

studio11s-mbp:~ mbzl$ sudu su

studio11s-mbp:~ mbzl$ sudo su

sh-3.2# cd /usr/local/openfire/bin

sh-3.2# export JAVA_HOME=`/usr/libexec/java_home`

sh-3.2# echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contens/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contens/Home

sh-3.2# cd /usr/local/openfire/bin

sh-3.2# ./openfire.sh

Openfire 3.10.3 [Jan 1, 2016 11:52:06 AM]

Admin console listening at http://studio11s-mbp:9090

 

 
 
posted @ 2015-12-31 13:49  史前巨兽  阅读(203)  评论(0编辑  收藏  举报