powered by Jive Software

Problems with java versions


I’'m running a Jive Messenger server, and have written a little Java applet using Smack that communicates with the server. Mostly, everything works fine (and great products, by the way ).

However, when I try to run the applet on some machines, it gives me this error:

“java.lang.UnsupportedClassVersionError: Smackchat (Unsupported major.minor version 49.0)”

I assume this is something to do with the version of Java the client is using…? Does Smack require Java 1.5 to be running on the client’‘s computer, or am I doing something wrong? If Smack does require this, is there any previous version that I could use that wouldn’'t require it?

Thanks in advance,



It sounds like you’‘re compiling the applet with JDK 1.5. If you do that, you should use “-target 1.4” or “-target 1.3” to make sure that the applet will work with earlier JVM’'s. See:




Great, thanks for the quick response