leJOS

edit

Programming

edit

The leJOS JVM implements a superset of the J2ME standard library. In addition to the standard library, it implements classes in the lejos package that provide interfaces to the NXT's raw I²C communications, as well as the sensors that are attached. To upload a program to the NXT, it is first linked into a single file by the nxjlink program, then uploaded using either a USB or Bluetooth connection by the nxjupload program.