Hi ,I'm having the same problem

<https://lh5.googleusercontent.com/-qpJdwG4lyBY/U7be9EXmBEI/AAAAAAAAAXA/St-qKSQFHFY/s1600/IMG_03072014_151029.png>

did you found the solution?
I need help on this...

Thank You


Em quarta-feira, 11 de junho de 2014 11h29min09s UTC-3, Matheus Luiz 
escreveu:
>
> How to make RXTX java library works in BEAGLEBONE Black?
>
> I'm on a Ubuntu distribution for BEAGLEBONE Black.
> The installations were carried out as follows:
>
> JRE installation:
>
> root@arm :/ # tar-xvf 
> ejre-7u55-fcs-b13-linux-arm-vfp-hflt-client_headless-17_mar_2014.tar.gz
> root@arm :/ # mv /ejre1.7.0_55 /usr/lib/
>
> JRE installed.
> -------------------------------------------------- 
> -------------------------->
> -------------------------------------------------- 
> -------------------------->
> Installing RXTX libraries:
>
> I got these files from some site I forgot now:
> librxtxSerial.so
> RXTXcomm.jar
>
> and then
>
> root@arm :/home/ubuntu/rxtx # ls
> librxtxI2C-2.1-2.1-7.so
> librxtxParallel.so
> librxtxRS485-7.so
> librxtxSerial.so
> librxtxI2C.so
> librxtxRaw-2.1-7.so
> librxtxRS485.so
> RXTXcomm.jar
> librxtxParallel-2.1-2.1-7.so
> librxtxRaw.so
> librxtxSerial-7.so
>
> root@arm:/home/ubuntu/# mv librxtxSerial-2.1-7.so 
> /usr/lib/ejre1.7.0_55/lib/arm
> root@arm:/home/ubuntu/rxtx# mv librxtxSerial.so 
> /usr/lib/ejre1.7.0_55/lib/arm
> root@arm usr/lib/ejre1.7.0_55/lib/arm :/ # ls
>
> client
> libfontmanager.so
> libkcms.so
> libjava.so
> libsctp.so
> headless
> libhprof.so
> libjawt.so
> libsunec.so
> libmanagement.so
> jli
> libmlib_image.so
> libJdbcOdbc.so
> libinstrument.so
> libt2k.so
>
> jvm.cfg
> libnet.so
> libjdwp.so
> libj2gss.so
> libunpack.so
> libattach.so
> libnio.so
> libjpeg.so
> libj2pcsc.so
> libverify.so
> libawt.so
> libnpt.so
> libjsdt.so
> libj2pkcs11.so
> libzip.so
> libdcpr.so
> libjsig.so
> libjaas_unix.so
> librxtxSerial-2.1-7.so
> libdt_socket.so
> librxtxSerial.so
> libjsound.so
> libjava_crw_demo.so
>
> root@arm:/home/ubuntu/rxtx# mv RXTXcomm.jar / usr/lib/ejre1.7.0_55/lib/ext
> root@arm usr/lib/ejre1.7.0_55/lib/ext:/# ls
> meta-index
> RXTXcomm.jar
> sunec.jar
> sunjce_provider.jar
> sunpkcs11.jar
> zipfs.jar
>
> As the manually installation does not work, I try again with apt-get.
>
> root@arm:/# apt-get install java-librxtx
>
> Detail:
> armroot@:/usr/lib/jni# ls
> librxtxI2C-2.2pre1.so 
> librxtxParallel.so 
> librxtxRS485-2.2pre1.so 
> librxtxSerial.so
> librxtxI2C.so 
> librxtxRaw-2.2pre1.so 
> librxtxRS485.so
> librxtxParallel-2.2pre1.so 
> librxtxRaw.so 
> librxtxSerial-2.2pre1.so
>
> -------------------------------------------------- 
> -------------------------->
> -------------------------------------------------- 
> -------------------------->
>
> These are my environment variables:
>
> PATH=$PATH:/usr/lib/ejre1.7.0_55/bin/:/usr/lib/jni /
>
>
> CLASSPATH=/home/ubuntu/testEclipse/RXTXcomm.jar:/usr/lib/rxtx/librxtxSerial.so:
> CLASSPATH=$CLASSPATH:.:/Usr/share/java/RXTXcomm.jar:../Lib
>
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni/librxtxSerial.so
>
> JAVA_HOME=/usr/lib/ejre1.7.0_55/
>
> My question is how to make this work in RXTX library BEAGLEBONE Black. 
> I tried these ways shown above but none worked.
> How should I proceed?
>
>
> There were 2 errors showN by java:
> one of them was: 
>
> java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown 
> while loading
>  gnu.io.RXTXCommDriver
>
> the other one is:
> WARNING:  RXTX Version mismatch
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to