Openfire Installation problem

Hi Everyone,

I’m installaling an openfire to my CentOS linux. When i issue a command like this…

./openfire.sh

I received this message…

Error: JAVA_HOME is not defined correctly.

We cannot execute /opt/openfire/jre/bin/java

Is there anybody knows what the solution to this error?

I appreciate much for any help. Thanks

Julian

I had the same issue.

I then followed the instructions here and it worked :

http://ubuntu-unleashed.blogspot.com/search/label/Install%20Jabber%20Server%20on %20Ubuntu