ts-7000
[Top] [All Lists]

[ts-7000] jamvm gnu-classpath librxtxSerial.so serial port TS7800

To:
Subject: [ts-7000] jamvm gnu-classpath librxtxSerial.so serial port TS7800
From: "albi_sevilla" <>
Date: Tue, 07 Jul 2009 10:04:03 -0000
Hi!!

I am completely mad with this problem I have!! I am trying to install jamvm 
(1.5.3) and gnu-classpath (0.98) in a TS7800 board in order to install a serial 
port java package (rxtx because sun javax.comm doesn´t run I think...) inside 
Debian distribution and it is completely imposible..

When I try to run a very very simple example I allways receive this message:



I have installed gnu-classpath indicating --enable-jni, --enable-core-jni 
--enable-load-library options in order to be sure system is able to load the 
librxtxSerial.so library but it doesn´t run...

I have copy librxtxSerial.so library in all these directories (/usr/lib, 
/usr/bin, /usr/share/jamvm (where I have installed jamvm...), 
usr/share/jamvm/bin, /usr/share/jamvm/lib, /usr/share/jamvm/share/jamvm, /bin, 
/usr/share/classpath, /usr/share/classpath/bin, /usr/share/classpath/lib, 
/usr/share/classpath/lib/classpath, /usr/share/classpath/share, 
/usr/share/classpath/share/classpath ... in fact I have copy librxtxSerial.so 
inside the gnu-classpath classes file (glibj.zip)..

Allways the same... it doesn´t run....

I have execute examples with:

jamvm SerialTest
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 SerialTest.main(SerialTest.java:20)

And:
 jamvm -Djava.libray.path=./ SerialTest   (I have copied librxtxSerial.so in 
this directory...)

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 SerialTest.main(SerialTest.java:20)



And nothing...

Can anybody help me?? I am completely blocked!!!!

PD: jamvm installation:
./configure --prefix=/usr/share/jamvm 
--with-classpath-install-dir=/usr/share/classpath --host=arm-linux 
--target=arm-linux

classpath installation:

./configure --host=arm-linux --prefix/usr/share/classpath --enable-collections 
--enable-default-preferences-peer=file --enable-jni --enable-core-jni 
--enable-load-library --without-x --disable-gtk-peer --disable-gconf-peer

thanks in advance!!!



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] jamvm gnu-classpath librxtxSerial.so serial port TS7800, albi_sevilla <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU