I am new to SMACK and Jabber community. I have a Jabber Server set up on my “Linux box” with “jabberserver” as its name.The code below simply tries to connect to server as that user.The users account has already been created at the server.The code gets compiled and its placed in the correct directory structure. My question is what is the next step, do i need to run this program from Classes directory as “java MainTest” or what should i do to see my “client code” communicate with “server”.
– code begin—
package org.jivesoftware.smack;
import org.jivesoftware.smack.*;
public class MainTest {
public static void main(String [] args) throws Exception {
XMPPConnection.DEBUG_ENABLED = true;
XMPPConnection con = new XMPPConnection(“jabberserver”);