powered by Jive Software

Problem in connecting to Google talk

Following is my code , i writing for communication with Google talk:

GoogleTalkConnection conn = new GoogleTalkConnection();

conn.login("uset1@gmail.com",“password”);

Chat newChat = conn.createChat("uset2@gmail.com");

newChat.sendMessage("Hi ");[/b]

err message i m seeing:

java.security.NoSuchAlgorithmException: Algorithm TLS not available[/b] at javax.net.ssl.SSLSecurity.a(Unknown Source)

at javax.net.ssl.SSLContext.getInstance(Unknown Source)

at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived (XMPPConnection.ja va:1039)

at org.jivesoftware.smack.PacketReader.parsePackets (PacketReader.java:317)

at org.jivesoftware.smack.PacketReader.access$000 (PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)

No response from the server.:

at org.jivesoftware.smack.NonSASLAuthentication.authenticate (NonSASLAuthentic ation.java:58)[/b] at org.jivesoftware.smack.SASLAuthentication.authenticate (SASLAuthentication. java:228)

at org.jivesoftware.smack.XMPPConnection.login (XMPPConnection.java:410)

at org.jivesoftware.smack.XMPPConnection.login (XMPPConnection.java:374)

at org.jivesoftware.smack.XMPPConnection.login (XMPPConnection.java:355)

at GTalk.main(GTalk.java:27)

Pls suggest me whr i m making mistake.

Thanks in advance.

~Exception

null