How to get started with babbler

Issue #109 resolved
Anonymous created an issue

This is not an issue but rather a starting problem that I am having with babbler due to my short programming experience. I wanted to build a java based xmpp client that can set up an xmpp chat with a server called ejabberd. I acme across babbler in the process and found the getting started link on this site.

I wrote one line of code on Eclipse IDE and faced errors as below:

public class Test {

    public Test() {
        // TODO Auto-generated constructor stub
        XmppClient xmppClient = XmppClient.create("");


error: XmppClient cannot be resolved to a type

So can you actually guide me how to start using babbler please

Comments (4)

  1. Christian Schudt repo owner

    You have to have the jar file(s) which contain the classes you need (here XmppClient) on the classpath. This should be set in eclipse for your project. Second, you need the Java import statement.

  2. Blacklightknight

    yes Thank you for replying. I found the documentation of how to use babbler here and in the build section I found out how to use babbler and now I have started with babbler. I just wanted to say this thing: I wrote a simple program following your guide about how make different users log in. so far it was going good when I realized that the clients were having a large number appended to their Jids like this


    and I wasn't sure what was it because when I was using a ready made client before named PIDGIN i didn't saw this number there. So I am now wondering where to look for it. And I would really like to know if you have a mailing list for babbler or not, where you know starters like me can share and learn a thing or two.

  3. Log in to comment