Hi Ewan,
You wrote:
> Hi again guys, this is getting frustrating to say the least. Well I have
> worked out how to solve the version conflict by editing the lejosjc.bat file
> with -target 1.5 -source 1.4 and the compiler works. However when I try to
> compile the Test.java file in the icommand directory it can't find the NXT
> constructor. Here is the error:
>
> Test.java:7: cannot find symbol
> Symbol : constructor NXT(java.lang.String)
> Location: class icommand.platform.nxt.NXT
> NXT nxt = new NXT("COM5")
I think the problem is the Testing folder is a holdover from iCommand 0.2.
Since then the API has changed. I hacked up Test.java - deleted all
reference to nxt, and replaced MotorA with Motor.A etc. and got it to
work. But instead, I recommend the objects in samples. Good luck,
Roger
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion