OK, I have decided to give lejos on the NXT a go after becoming quite impressed with it on the RCX. However, I am having a little trouble...
As a preliminary, I should mention that I am doing all of this on linux!
Moving along, the first problem I am having is that I cannot get lejosjc to work. The error I am getting every time is
- Code: Select all
xxx.java:1: package lejos.nxt does not exist
meaning that I have clearly not set the $LEJOS_HOME variable correctly. So, and please be *very* explicit, how do I set this variable?
Second, and this is a bit worrying, I pressed the button on the NXT to go into firmware update mode and that's all good. However, I didn't quite realize that this would wipe the memory on the NXT. Now, I got this kit as an educational platform, meaning that I have no software for it. So, is there any way I can obtain the original lego image to put back on with, say, LiNXT? Maybe somebody could be so kind as to post an .tar.gz of the image? Otherwise, my employer may wonder why the new toy only sits there clicking...
Thanks in advance!
UPDATE: Ignore the first problem, there was a pointer conflict between the RCX and NXT versions of lejos. rm -r fixed that one nicely!
Now, about that default lego image...