leJOS / Eclipse tutorial

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

leJOS / Eclipse tutorial

Postby bartneck » Fri Sep 14, 2007 7:50 pm

Hello,

We create step-by-step instructions on how to install and run Java on your LEGO Mindstorms NXT using leJOS. This may be of use to you and maybe you can even test the instructions:

http://www.bartneck.de/work/education/masterClassLego/javaInstallNXT/index.html

Feedback is welcome. Enjoy!
bartneck
New User
 
Posts: 4
Joined: Fri Sep 14, 2007 7:24 pm

Postby roger » Sun Sep 16, 2007 3:45 am

Very nice. I hope to see more.
Roger
roger
Moderator
 
Posts: 350
Joined: Fri Jun 01, 2007 4:31 am
Location: Berkeley, CA

Postby jcmaco » Sun Sep 16, 2007 8:16 pm

Thanks!
jcmaco
New User
 
Posts: 2
Joined: Sun Sep 16, 2007 8:14 pm

Postby corona » Tue Sep 18, 2007 2:11 pm

Very nice
but as of lejos 0.4 shouldn't the environment variable be called NXJ_HOME rather than LEJOS_HOME

Also, the commands should be nxjflash, nxjc and nxj for flashing, compiling and downloading, respectively, as per the errata http://www.variantpress.com/books/maxim ... nxt-errata
corona
New User
 
Posts: 9
Joined: Wed Sep 05, 2007 9:12 am

Postby bartneck » Wed Oct 17, 2007 7:32 am

Both sets of commands are currently supported by LeJOS. Brian's book suggests the old style, but we are not yet aware of what LeJOS may support in the future. The documentation is not clear and consistent.

The old style commands worked for us. Maybe you can report on the success of the new ones?
bartneck
New User
 
Posts: 4
Joined: Fri Sep 14, 2007 7:24 pm

Postby bbagnall » Sat Oct 20, 2007 6:33 pm

I'd recommend using the NXJ based commands. The LEJOS ones can get confused with people who have an RCX brick and try to use LEJOS commands on the same system. The LEJOS ones will work but NXJ is preferred.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby bacherak » Fri Dec 21, 2007 10:27 am

Brian,
I would like to use both NXT and RCX. Is there a way to configure Eclipse and my computer to code/download both types of code...
Please, if there are instructions or if anyone has tried this succesfully, post the instructions
Thanks in advance
Bacherak
bacherak
New User
 
Posts: 2
Joined: Fri Dec 21, 2007 10:14 am

Thanks

Postby Bseddon » Fri Dec 21, 2007 9:04 pm

Hi


Thank you your website was briliant
It helped me to download my code
You have a really good website





:D
Bseddon
New User
 
Posts: 9
Joined: Tue Dec 18, 2007 8:47 pm
Location: UK, Surry, Staines

Postby bbagnall » Tue Dec 25, 2007 6:41 pm

bacherak wrote:I would like to use both NXT and RCX. Is there a way to configure Eclipse and my computer to code/download both types of code...
Please, if there are instructions or if anyone has tried this succesfully, post the instructions

It's just a matter of setting up the compiling and downloading tools in Eclipse much the same way it is done for leJOS NXJ. Just add entries for RCXCompile and RCXUpload that point to the appropriate bin files in your RCX directory, same way you did for the NXT tools.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

cant compile

Postby superethan5 » Thu Dec 27, 2007 12:35 am

i cant compile the code

here is the post i put up

viewtopic.php?t=634
superethan5
New User
 
Posts: 8
Joined: Wed Dec 26, 2007 10:20 pm

Postby MoxFulder » Fri Jan 04, 2008 6:57 am

bartneck wrote:Hello,

We create step-by-step instructions on how to install and run Java on your LEGO Mindstorms NXT using leJOS. This may be of use to you and maybe you can even test the instructions:

http://www.bartneck.de/work/education/masterClassLego/javaInstallNXT/index.html

Feedback is welcome. Enjoy!


Thanks, very useful !
User avatar
MoxFulder
New User
 
Posts: 8
Joined: Fri Jan 04, 2008 6:55 am


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff