powered by Jive Software

Does Smack 4.0.4 requires JRE 7?


Does Smack 4 requires JRE 7 to run? When I launch my application on JRE 6 (OSX 10.6) I get:

Exception in thread “AWT-EventQueue-0” java.lang.UnsupportedClassVersionError: org/jivesoftware/smack/XMPPException : Unsupported major.minor version 51.0

Yes, Smack 4 requires Java 7.

Arg. Where I missed this? I didn’t see anything about that in the doc…

Why is Java 7 required? Isn’t a bug?

I have a server wich runs on Java 6. What Smack version should I use?

You should update to Java7 as soon as possible if you don’t have a Java “commercial” contract, as Java 6 does no longer receive updates.

The last Smack version to support Java 6 was 3.4.1