I’'ve spent far too many hours trawling these forums trying to find a solution to this installation problem on a linux server:
" Openfire Classes Home not found. Define system property “openfireHome” or create and add the openfire_init.xml file to the classpath"
edit the file openfire_install_directory/bin/openfire (using any text editor)
insert the line “openfireHome=/install_directory/openfire” anywhere (below the JVM override comments is a good place)