OK, so I'm trying to get LeJOS up and running with an RCX 1.0 and the USB tower. I got firmdl to put the OS on the RCX without too much hassle, but I cannot seem to get anything else to work... In particular, I can compile all of the sample files (at least the ones I have tried), but whenever I try to transfer anything to the brick, I get the same problem:
- Code: Select all
$ 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: josx.rcxcomm.Tower.close()I
at josx.rcxcomm.Tower.close(Native Method)
at josx.rcxcomm.Tower.closeTower(Tower.java:53)
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)
and nothing happens. I'm using gentoo linux with a 2.6.20 kernel, and legousbtower is built as a module that is autoloaded at startup. Clearly, communication with the brick is possible, as firmdl works without any problems.
Why won't lejos as well?
