Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91SAM9G20-EK Serial ports java
PostPosted: Thu Feb 11, 2010 5:13 pm 
Offline

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron