After a long time I picked up smack again for some deving.
I downloaded the latest version (1.4.1) for linux and gave it a go.
I unpacked the files in $home/java/smack-1.4.1 and made this small test program
import org.jivesoftware.smack.*;
public class JabTalk {
public static void main(String [] args) throws Exception {
XMPPConnection conn = new XMPPConnection(“Jabber.org”);
}
}
I compiled it with this command:
matthias@prometheus:~/java$ javac -classpath ./smack-1.4.1/smack.jar JabTalk.java
So far, that didn’'t do any errors. Then I tried to run it (no stdout on the prompt)
matthias@prometheus:~/java$ java -classpath ./smack-1.4.1/smack.jar: JabTalk
Now I do get errors:
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.ServiceDiscoveryManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.XHTMLManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.muc.MultiUserChat
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.ServiceDiscoveryManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.XHTMLManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.muc.MultiUserChat
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.ServiceDiscoveryManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.XHTMLManager
Error! A startup class specified in smack-config.xml could not be loaded: org.jivesoftware.smackx.muc.MultiUserChat
This is my version of the JDK:
matthias@prometheus:~/java$ java -version
java version “1.5.0”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot™ Client VM (build 1.5.0-b64, mixed mode, sharing)
Can someone please help me out here?? What does this mean? What can I do?