|
After extracting the Zip file contents, the next thing to do is to set up your environment. For Windows users, this really just involves two simple steps.
The way I personally deal with the second requirement is to create a batch file that I run from a DOS/Command window when I am ready to start working with Lejos. This file sets the RCXTTY variable mentioned above, as well as a LEJOS_HOME variable we haven't discussed yet, and the Java CLASSPATH variable that we also have not discussed yet.
Here are the contents of this file:
set JAVA_HOME=C:\j2sdk1.4.1_01 set LEJOS_HOME=C:\Java\lejos set RCXTTY=USB set CLASSPATH=.
I name this file lejos_setup.bat, and make sure I run it from the DOS window I will be working from before I start working with Lejos.