Windows Intallation of leJOS

The only difference between the Unix distributions and the win32 distributions of leJOS is that the latter ones contain Windows executables. These executables depend on the CygWin B20.1 DLL, which is distributed in the bin directory, and are meant to be run from a DOS console. To run leJOS from a CygWin console, you should download the Unix distribution, or run make.

To install leJOS:

Under Windows 95/98, you might want to create a batch file that sets these variables, and specify that batch file in the Program properties of a DOS console shortcut; or set them in C:\AUTOEXEC.BAT.

Testing the Release

To run the View example, go to the lejos directory and type:
lejosfirmdl
cd examples\view
set CLASSPATH=.
lejosc *.java
lejos View
Press Run to start the program. This example allows you to test sensors and motors. Press View to select a sensor or motor. Press Run to activate or passivate a device. Press Prgm to change sensor mode or motor power. To exit this program, press On/Off.
[leJOS]