I m getting this error
---------- compile ----------
GtalkClient.java:3: package org.jivesoftware.smack does not exist
import org.jivesoftware.smack.*;
^
GtalkClient.java:7: cannot find symbol
symbol : class XMPPException
location: class GtalkClient
public static void main(String[] args) throws XMPPException {
^
GtalkClient.java:8: cannot find symbol
symbol : class ConnectionConfiguration
location: class GtalkClient
ConnectionConfiguration config = new ConnectionConfiguration("talk.google.com", 5222, "rgukt.in");
^
GtalkClient.java:8: cannot find symbol
symbol : class ConnectionConfiguration
location: class GtalkClient
ConnectionConfiguration config = new ConnectionConfiguration("talk.google.com", 5222, "rgukt.in");
^
GtalkClient.java:9: cannot find symbol
symbol : class XMPPConnection
location: class GtalkClient
XMPPConnection connection = new XMPPConnection(config);
^
GtalkClient.java:9: cannot find symbol
symbol : class XMPPConnection
location: class GtalkClient
XMPPConnection connection = new XMPPConnection(config);
^
GtalkClient.java:19: cannot find symbol
symbol : class MessageListener
location: class GtalkClient
MessageListener messageListener = null;
^
GtalkClient.java:20: cannot find symbol
symbol : class Chat
location: class GtalkClient
Chat chat = connection.getChatManager().createChat("sridhar.nuz@rgukt.in",messageListener);
^
8 errors
Output completed (0 sec consumed) - Normal Termination
Use Apache Ant as a build tool to compile your application with dependencies or just use the command line invocation of `javac' and `java' which supports classpath options.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.