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
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)
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?