[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] Using LIRc library in Equinox

The problem can be  because OSGI does not recognize the LIRC daemon, because I have tried to introduce all the classes from LIRC packages in my bundle and I have the same result. I do not know if I have to do something special to relate the OSGI framework with the LIRC daemon in Ubuntu, or include some libraries. I do not know much about LIRC but I think that is a daemon which takes data from remote control and then send this information to a socket, so I think my bundle just should interact with a “socket”, but there are an API to use LIRC in Java called JLIRC which I think should be enough.


Any idea will help me.




De: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] En nombre de David Conde
Enviado el: viernes, 14 de agosto de 2009 11:50
Para: 'Equinox development mailing list'
Asunto: [equinox-dev] Using LIRc library in Equinox




I am trying to use LIRC libraries in order to use remote controls in my bundles running on Equinox.

For this task, I download de JLIRC source and put it all together in a new bundle called RemoteLIRC, then I exported the next packages:






Then I imported these packages in another bundle called Remote Manager which use some of the classes defined in these packages.


I did not get any error in compilation time with Eclipse but when I tried to launch Remote Manager by console I got a java.lang.NoClassDefFoundError: Could not initialize class org.lirc.socket.UnixSocketImpl


I do not know If I am putting right the LIRC packages or is it a problem from sockets?


Any Idea?


Thank you in advance