leJOS is also well suited to teaching the basic principles of object-oriented programming; it is Java after all! And what better way to illustrate in concrete terms how powerful Java is than by applying it to building robots?
I’ve been a fan of the leJOS programming environment for the Lego Mindstorms NXT for some time now. The class library it provides is very thorough and there is an active development community (of which I’m one) who are constantly updating and improving the code. For an open-source project the leJOS environment provides the class library you need to do “serious” robotics.
Marlene Galea has some great resources on her blog for teachers considering using leJOS in a classroom to teach Java. Well worth reading – good job Marlene (and students!)