JOscarLib - how to use?

126 Views Asked by At

How to use JOscarLib? I have to fix unworkable code with this lib, but I don't know, why I have some errors. I do this:

connection = new OscarConnection(auth.getHost(), auth.getPort(), auth.getUsername(), auth.getPassword());

But get this:

OscarLib.Core.JarClassLoader cacheClasses
WARNING: Warning : No jar file found. Packet unmarshalling won't be possible. Please verify your classpath
... JOscarLib.Core.OscarPacketAnalyser handleService
INFO: Received 1 - 3
... JOscarLib.Core.OscarPacketAnalyser handleService
INFO: Received 1 - 21

After this connection.isLogged == false with true username/password and host=login.icq.com and port=5190/443

By the way, does this library works today?

1

There are 1 best solutions below

0
another-programmer On BEST ANSWER

Finally I used icqlib library and it worked.