User Tools

Site Tools


Steps to Install the LEGO Mindstorm NXT and leJOS NXJ Software

  1. Install the LEGO Mindstorm software by inserting the CD and following the on-screen instructions.
  2. Download and install the leJOS package: visit, follow the Win32 leJOS NXJ link, select the latest version zip file (0.6.0beta (5/5/08)). Unpack it and place the resulting lejos_nxj folder into C:\Program Files.
  3. Turn on the LEGO robot and plug it in via the USB cable and allow Windows to recognize it.
  4. Download the LibUSB filter: visit, follow “Downloads” link in left column, click on download link to sourceforge, click on libusb-win32-releases, and download the latest version of the filter .exe file (libusb-win32-filter-bin- ( (3/20/07))
  5. Install the LibUSB filter: Make sure the robot is (still) on and connected via the USB cable. Run the libusb-win32-filter-bin executable downloaded in the previous step.
  6. Add system variable NXJ_HOME with the value of the directory into which lejos_nxj was installed (C:\Program Files\lejos_nxj).
  7. Add system variable JAVA_HOME with the value of the directory that contains the system JDK (e.g., C:\Program Files\Java\jdk1.6.0_02).
  8. Append ;%NXJ_HOME%\bin;%JAVA_HOME%\bin to the end of the Path system variable.
reu/nxt-lejos-installation.txt · Last modified: 2008/10/10 11:42 by jtk