1. Should the first import statement be changed to "import icommand.nxtcomm.*;"
2. There is no "open" method defined in the NXTCommand class.
After making change to the import statement and commented the line "NXTCommand.open();, I am able to compile the program and run the program now. However, it gave the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
I have already set up the RXTX.jar file in the classpath setting according to the readme file and actually I was also able to run the sample program "RemoteControl" last night rotating the motors remotely from the same laptop computer.
I don't know why I have this error again with this program.
This is where you talk about the NXJ software itself, installation issues, and programming talk.
2 posts • Page 1 of 1
Hi there. Now that the new leJOS NXJ is released we're going to do another release of iCommand that has all the updated commands, including open(). I think it's been at least 5 months since we updated iCommand so of course it is behind. I'm going to try to get the iCommand release out within a week and that will solve your problems.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests