I am new with Smack, and need help!! I want to setup a very simple client that communicates with a jabber server. I’'ve installed smack, set the JAVA_HOME system variable and seems to work, but at the time I try to execute my program I get the following error:
presence/presence.java unreported exception org.jivesoftware.smack.XMPPException; must be caught or declared to be thrown
XMPPConnection connection = new XMPPConnection(“jabber.org”, 5222);
Where should I save my class? under …\smack\build directory?