Page History
...
Another issue is that the development package of libusb has to be installed. On Ubuntu you can do this by using sudo apt-get install libusb-dev
.
You may have to restart your PC.
If the ant tasks fails because jni.h is missing edit the build.xml in line 12 from <condition property="jni.include.dir" value="${java.home}/../include"> to <condition property="jni.include.dir" value="${java.home}/include">
Furthermore, to use USB connection, a java library has to be compiled via ant. To do this perform cd /path/to/leJOS/build and start ant. If the ant build tool is not installed on your system, you can do so via sudo apt-get install ant.
...