Lejos NXJ extension for BlueJ

Legal notice : use at your own risk

 

Installing the extension

The extension is very simple and allows Java applications to be developed in BlueJ which can then be uploaded and run.

 

Pre-requisite: you have installed and have working the Lejos software http://lejos.sourceforge.net/ (version 0.4)

 

Step 1: Download the file LeJOSNXTExtension.jar

Step 2: Save the file in the <somewhere>/BlueJ/lib/extensions folder (ref BlueJ extensions directories)

Step 3: Start BlueJ

Step 4: Click on the 'Tools' menu and then choose Preferences

Step 5: Click on the Libraries tab and then Add

Step 6: Find the file classes.jar in the <NXJ_HOME>/lib folder

Step 7: Click OK

Step 8: In Tools->Preferences->Extensions(tab) enter the location of the lejos_nxj directory e.g. c:/lejos_nxj or /home/me/lejos_nxj.

Step 9: RESTART BlueJ

 

Running programs

In the Class diagram 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
d.h.bowesherts.ac.uk