Montag, 5. November 2007

Installing leJOS on OpenSuse 10.3 Linux

leJOS is a Java Environment for Lego Mindstorm robots. Especially the version supporting the latest model (NXT) seems to have a couple of installation issues. Thus I decided to document my findings about installing on a (OpenSuse 10.3) linux box:

The best installation instruction can be downloaded from a publishers errata page. There's a PDF describing the installation process on all supported platforms.
One prerequisite for the installation is, that you have ant installed on your machine. It can be easily installed using Yast.

However, when you follow the instruction there you will receive some errors, since the necessary header files for the Java native interface (JNI) are not found. You'll have to modify some build.xml files.
Open the build.xml file in the src/libnxt folder and add the following entries to the jlibnxt target:







After this also add them to goal "jbluez" in the file src/jbluez/build.xml.
Now leJOS should build without any errors.

Keine Kommentare: