powered by Jive Software

Smack API - JDK/JRE compatability

Hi there, we are running a Java 5 JRE java version 1.5 - according to the Smack documentation Smack should be compatible with this but it appears not, we get the following error -

bad major version at offset=6 org/jivesoftware/smack/MessageListener

the MessageListener class has been compiled with a major version 50 which equates to Java 6…

Can anyone confirm if Smack can be used in a JRE 5 / Java 1.5 version?

Many thanks.

You can checkout the source and compile it with Java 5. I have not tired it, but I think it may work.