powered by Jive Software

Openfire detects wrong JAVA version (?)

Hi,

java -version says

java version “1.7.0_25”

OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-i386)

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

Openfire says:

Java Version:
1.6.0_41 Sun Microsystems Inc. – Java HotSpot™ Server VM
Appserver:
jetty/7.x.y-SNAPSHOT

What am I missing here?

Thanks!

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.