It appears that the Smack 1.5.0 Jar file was built with Java 1.5.0 and is not compatible with Java 1.2.2. I get the following error when compiling:
error: Invalid class file format in /us1/cm/sysinfra/jar/smack.jar(org/jivesoftware/smack/XMPPConnection.class). The major.minor version ‘‘48.0’’ is too recent for this tool to understand.
I’‘ve run into this before with other Jar files I’'ve used and its been solved in one of two ways. Either the files were compiled using an earlier version of Java or the appropriate target was supplied to the 1.5.0 compiler.
Would it be possible to rebuild the Smack 1.5.0 release so that it is compatible with Java 1.2.2 and later?