Help with Maximum LEGO NXT Building Robots with Java Brains

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

Moderators: 99jonathan, roger, imaqine

Help with Maximum LEGO NXT Building Robots with Java Brains

Postby jumb » Sat Dec 29, 2007 9:05 pm

Hi,

We just got the Maximum LEGO NXT Building Robots with Java Brains book and are running into problems. OK, so we are pretty new with JAVA and some of these problems may be basic, but we sure could use help.

First problem. On page 33 step 8 we are supposed to Add three tools. But the book only had us create two. The third - leJOS Link is no where to be found. How is leJOS Link created/found?

Second,
on page 32 the External Tools figure 2-9 shows Ant Build without any sub-files. On the next page figure 2-10, there are three sub-files - build-icommand build.xml, classes build.xml, and icommand-portable build....
How do we attach/create these?

Third,
Our code is filled with "The selected resource does not resolve to a Java element" and "cannot be resolved" errors. What are these and how do we fix them?

Thanks,
JUMB
jumb
New User
 
Posts: 1
Joined: Sat Dec 29, 2007 8:48 pm

Errata

Postby briandwatt » Mon Dec 31, 2007 9:17 pm

briandwatt
New User
 
Posts: 1
Joined: Mon Dec 31, 2007 9:16 pm

Re: Help with Maximum LEGO NXT Building Robots with Java Bra

Postby bbagnall » Wed Jan 02, 2008 2:23 am

jumb wrote:First problem. On page 33 step 8 we are supposed to Add three tools. But the book only had us create two. The third - leJOS Link is no where to be found. How is leJOS Link created/found?


You actually don't have to set up leJOS Link in Eclipse. When you upload the code it will link it automatically.

jumb wrote:Second,
on page 32 the External Tools figure 2-9 shows Ant Build without any sub-files. On the next page figure 2-10, there are three sub-files - build-icommand build.xml, classes build.xml, and icommand-portable build....
How do we attach/create these?

You don't. The ant stuff is just another feature in Eclipse but you don't have to worry about it.

jumb wrote:Third,
Our code is filled with "The selected resource does not resolve to a Java element" and "cannot be resolved" errors. What are these and how do we fix them?

Is this what the Eclipse Console output says when you try to compile or upload? Make sure you select a Java file first then try compiling/uploading.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff