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:
- Unzip the file you downloaded. A top directory,
lejos, is already provided. - Set RCXTTY to the IR serial port, e.g.
set RCXTTY=COM2. - Both the JDK's and leJOS'
bindirectories should be in your PATH.
Program properties
of a DOS console shortcut; or set them in C:\AUTOEXEC.BAT.
Testing the Release
To run theView 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.



