[Rxtx] rxtx moving from JNI to JNA (was Re: About JRE crashes)

Kustaa Nyholm Kustaa.Nyholm at planmeca.com
Tue Aug 17 01:34:51 MDT 2010


> 
> I don't see where it makes development or deployment any easier.
> 
> Are you experiencing that headache with this project in particular?


Yes, a few years ago I was able to pull the CVS version and get it to
compile on my Mac with just minor adjustments. A year and two Mac's later
last year I could not not. I now rely on a precompiled binary and hope
it won't break. And no, I have not tried the latest CVS with my latest
Mac as I have other things to do than trying to figure out why this
or that configure/make/install fails.



> I haven't 
> used C in years, and I was able to download the RXTX repo, set up my dev
> environment and get it to compile within a few hours.

A few hours?! If it was based on JNA it should be minutes.

And that few hours was just for your platform (what ever it is),
how about doing this for all the platforms? N times a few hours.

> 
> What Trent is saying is that RXTX interacts with port hardware using the POSIX
> API:
> 
> Java -> JNI -> RXTX native code -> POSIX API -> port hardware
> 
> -Adrian
> 
Thanks, got it now.

br Kusti




More information about the Rxtx mailing list