powered by Jive Software

Openfire detects wrong JAVA version (?)


java -version says

java version “1.7.0_25”

OpenJDK Runtime Environment (rhel-

OpenJDK Server VM (build 23.7-b01, mixed mode)

Openfire says:

Java Version:
1.6.0_41 Sun Microsystems Inc. – Java HotSpot™ Server VM

What am I missing here?


The default install of OF includes a JRE, which is what is being used by the server when it is running. If you want to use a different JRE, you have to configure the scripts to use it instead of the default.

When you run the version command, you are just getting java install that is on your system path, which is a different install altogether.