So I've just switched to d to Linux Mint rosa from Windows 10. I'm trying to figure out how download the firmware through eclipse. Whenever I click the plug-in and then the firmware I get;
"starting nxjflashg failed org.lejos.nxt.ldt.util.LeJOSNXJException: NXJ_HOME is not set. Please specify it in the plug-in's preferences See Eclipse error log for detailed stack trace."
I know when I was using windows 10 I had to change environmental variables and download the NXJ drivers also, I'm not sure how to do this w/ Linux
You have 3 steps to flash a NXT on Linux with eclipse (once Java is working):
I think you only installed the eclipse plugin, so you need to follow the instructions here : http://www.lejos.org/nxt/nxj/tutorial/Preliminaries/GettingStartedLinux.htm
Summary :
sudo apt-get install libusb-dev ant
(install libusb driver and ant, a kind ofmake
for java)/opt
for instance)NXT_HOME
in the window > Preferences > leJOS NXT > NXJ_HOME to the path you copied leJOSant
in$NXJ_HOME/build
to build the usb driversu
rightssudo groupadd lego && sudo gpasswd -a $USER lego
)(1) udev rule :
vim /etc/udev/rules.d/70-lego.rules