The extension is very simple and allows Java applications to be developed in BlueJ which can then be uploaded and run.
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/nxt 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. (optionally enter the bluetooth address of your Lego robot in the address box.)
Step 9: RESTART BlueJ
In the Class diagram window, right click on the main class, select NXT option and then one of the six 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