Java 7 incompatibility


When running with Java 7, the exception below gets logged. This appears to be a problem related to incompatiblity with Java 8 compiled code. See




Guus der Kinderen
August 13, 2016, 6:54 AM

The fix has now been applied to the 4.0 branch as well as to master.

Guus der Kinderen
August 12, 2016, 8:41 PM

Based on the provided workaround, I've prepared this fix:

This should allow Openfire to be build with Java 8, while not causing issues when executed by Java 7.

Note that a similar change needs to go in the Master branch. My PR is against the 4.0 branch.

Guus der Kinderen
August 12, 2016, 8:14 PM

A recent comment on the issue in the OpenJDK bugtracker provides a workaround:

Chris Schanck
June 1, 2016, 4:46 PM

Hit this today on Debian Jessie, very annoying. I downgraded to 4.0.1 to avoid this, as I have some other reasons to avoid 1.8 for now.

April 19, 2016, 7:26 PM

Anyway, i think we have to have a stance on this whether we will support or not Java 7 and forums announcement is not enough. If we go with Java 8 for Debian, we should probably put "(Java 8+)" or something near the download link.



Dave Cridland


Guus der Kinderen