0

I have downloaded leJOS and the eclipse addon. I set NXJ_HOME to C:\Program Files\leJOS EV3, and imported the sample programs. They don't build. They get errors on all the import lejos.* stuff. Also, I'm told that when I make my own leJOS program, it's supposed to automatically include LeJOS NXT Runtime and classes.jar. When I do it, I just get the src folder and nothing else.

DanielLC
  • 5,801
  • 5
  • 18
  • 16

1 Answers1

0

It sounds like your project is set as a regular Java project, when it needs to be set as a leJOS NXJ project.

You can make a new leJOS NXJ project by visiting the FileNewProject… menu in Eclipse, and selecting LeJOSLeJOS NXT Project from the list.

You can also convert an existing project to a leJOS NXJ project by right-clicking on the project name in the Package Explorer and selecting leJOS NXJConvert to leJOS NXJ project.

shea
  • 1,129
  • 2
  • 21
  • 38