This is where you talk about the NXJ software itself, installation issues, and programming talk.
Moderators: roger, imaqine, 99jonathan
- New User
- Posts: 5
- Joined: Mon Jul 02, 2007 10:32 pm
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.
- Site Admin
- Posts: 392
- Joined: Fri Aug 04, 2006 4:03 pm
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.
Return to “NXJ Software”
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 3 guests