Hi,

I have successfully uploaded the lejos firmware onto the RCX 2.0 unit.
Now, I am having trouble uploading compiled java programs for the RCX.

I have tried both the checkDistribution.sh script and the HelloWorld with
no luck

It seems like lejos have some trouble loading the native library
libjirtrcx.so, which is found in the $LEJOS_HOME/bin directory.

I am using lejos 3.0 RC1, Linux version 2.6.9-42.EL running Java 1.5.0_04

Any hints as to why I am experiencing this problem?

Below you'll find all environment variables as well as the error message
from lejos.

Regards,
Magnus

--- START
Script started on Thu 14 Sep 2006 02:39:06 PM CEST

[EMAIL PROTECTED] ~/lejos $ echo $CLASSPATH
/store/opt/jdk/1.5.0/jre/lib/rt.jar:/store/share/java/classes:/local/java/classes:/uio/descartes/s12/magnukor/java/classes:.:/ifi/eisa/k00/inf1040/www_docs/java/ipapps.jar:/ifi/eisa/k00/inf1040/www_docs/java/iplib.jar:/hom/inf1040/www_docs/java:/hom/inf1040/www_docs/java/inf1040.jar:.:/uio/descartes/s12/magnukor/lejos/lib/classes.jar:/uio/descartes/s12/magnukor/lejos/lib/pcrcxcomm.jar

[EMAIL PROTECTED] ~/lejos $ echo $LEJOS_HOME
/uio/descartes/s12/magnukor/lejos

[EMAIL PROTECTED] ~/lejos $ echo $RCXTTY
/dev/legousbtower0
[EMAIL PROTECTED] ~/lejos $ echo $PATH
/site/bin:/store/bin:/usr/X11R6/bin:/site/bin:/local/X11/bin:/store/opt/jdk/1.5.0/bin:/usr/bin:/usr/lib/qt-3.3/bin:/local/bin:/local/gnu/bin:/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/bin:/bin:/usr/games:.:/uio/descartes/s12/magnukor/lejos/bin

[EMAIL PROTECTED] ~/lejos/samples/test/hworld $ lejos HelloWorld
linking...
downloading...
read binary
  100%
download binary
Loading native libs
Unable to load native libraries: no jirtrcx in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: close
        at josx.rcxcomm.Tower.close(Native Method)
        at josx.rcxcomm.Tower.closeTower(Tower.java:55)
        at js.tools.Download.close(Download.java:88)
        at js.tools.LejosdlTool.start(LejosdlTool.java:120)
        at js.tools.Lejosdl.start(Lejosdl.java:82)
        at js.tools.LejosLinkAndDownload.run(LejosLinkAndDownload.java:89) at
js.tools.LejosLinkAndDownload.main(LejosLinkAndDownload.java:43)

Script done on Thu 14 Sep 2006 02:39:49 PM CEST

--- END





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to