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


just an idea. Maybe jlirc works with JNI? Maybe you have to give the library path to the VM similar to subclipse?
Like: -vmargs -Djava.library.path=path_to_lirc_libs


"David Conde" <dconde@xxxxxxxx> schrieb am 14.08.2009 14:23:22:
> 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.
> Thanks
> De:equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@
> eclipse.org]  *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
> Hi,
> 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:
> -org.lirc
> -org.lirc.socket
> -org.lirc.ui
> -org.lirc.utils
> 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
> _______________________________________________ equinox-dev mailing 
> list equinox-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/
> equinox-dev

Mark Hoffmann
e-Mail: mark.hoffmann@xxxxxx
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de