Lejos NXT plugin for Eclipse

Legal notice : use at your own risk

 

Installing the extension

The plugin is fairly simple. It adds new menu items to java projects and java files in the 'Package Explorer' window named NXT.

 

Pre-requisite: you have installed and have working the Lejos software http://lejos.sourceforge.net/ (version 0.4)
You have a jvm which allows javax.swing creation (NB gcj may need a patch... see documentation with the plugin)

 

Step 1: Start Eclipse

Step 2: Help->Software Updates->Find and install..

Step 3: Change to the 'Search for new features to install' button and then 'Next'

Step 4: Click on the 'New Remote Site' button

Step 5: Give the 'Name= something appopriate e.g. LeJOS plugin and change the URL to http://homepages.feis.herts.ac.uk/~comqdhb/lego/lejoseclipseplugin

Step 6: Next, Finish, Click on the plugin you want to install.....

Step 7: Accept or reject..

Step 8: After the restart of Eclipse, Window->Preferences->LeJOS preferences and set the NXJ_HOME directory

 

Running programs

Create a new project.In the Package Explorer window, right click on the project icon, select NXT option add classes.jar

 

In the Package Explorer window, right click on the main class, select NXT option and then one of the siz NXT specific options (some refer to usb (e.g. NXJ_UPLOADUSB) and others bluetooth (e.g. NXJ-RUNBT)).

 

A window appears showing progress etc

 

 

Have fun. :-)

 

David Bowes: University of Hertfordshire

 

If you want to e-mail me about the plugins, please use the link below and DON'T change the subject NB this is really still beta
d.h.bowesherts.ac.uk