What`s wrong?My Jdk is 1.6 and smack is 4.0.6
my code is
XMPPConnection connection = new XMPPTCPConnection("127.0.0.1");
try {
connection.connect();
connection.login("test1", "123456");
} catch (SmackException e) {
// TODO Auto-generated catch block
e.printStackTrace(); }
catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace(); }
catch (XMPPException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}