powered by Jive Software

Ssl

From “Getting started …”:

“The only requirement for Smack is JDK 1.2 or later”

But there is no SSL support in 1.2 and 1.3!

And there are no target without ssl in build file for smack.

smack 1.0-beta1.1

JDK 1.3

Roman,

Does using the library fail for you always under JDK 1.3, or only when trying to use SSL? I guess I’‘ll have to at least fix the build process so that under JDK 1.2/1.3 it compiles with the SSL JAR file that’‘s part of JSSE: http://java.sun.com/products/jsse/index-103.html. I’'ll also update the docs.

Regards,

Matt

Compiling fail with JDK 1.3

But I’'ve compiled smack without SSL.

Roman,

Did you try using the pre-compiled smack.jar file? My guess is that it should work fine unless you try to call the SSLXMPPConnection class.

Regards,

Matt

Situation is changed, and now i can use JDK 1.4

so this problem disappeared

By the way, there are another difference between JDK 1.3 and 1.4 - in 1.3 class Exception have only 2 constructors (Exception() and Exception(String s)); in 1.4 - 4 constructors

Yep, I found all those problems last night and fixed them.

Thanks,

Matt