Joined: Tue Feb 02, 2010 11:57 am Posts: 1
|
|
I have an AT91SAM9G20-EK evaluation board.
I have installed the Angstrom demo linux (Linux4Sam) and I'm trying to run a java application for take control of serial ports. I'm using jamvm (1.5.2) or cacao (0.99.4) virtual machines. To control of serial ports, I'm using RXTX library
Always I'm getting the same exception with the native library librxtxSerial.so
root@at91sam:~/java$ cacao -Djava.library.path=/usr/lib/classpath/ -classpath /usr/share/java/RXTXcomm.jar:serial.jar test.Prueba
Available ports list: <<== (first line of my program) java.lang.UnsatisfiedLinkError: Native library `rxtxSerial' not found (as file `librxtxSerial.so') in gnu.classpath.boot.library.path and java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library `rxtxSerial' not found (as file `librxtxSerial.so') in gnu.classpath.boot.library.path and java.library.path at java.lang.Runtime.loadLibrary(Runtime.java:763) at java.lang.System.loadLibrary(System.java:670) at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83) at test.Prueba.main(Prueba.java:15) root@at91sam:~/java$
Can someone help me with this problem? Have someone a librxtxSerial.so version compiled for my platform?
If someone have any idea I would appreciate.
Regards
|
|