Problem with SpeechSynthesis on P.463 of the book

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

Moderators: 99jonathan, roger, imaqine

Problem with SpeechSynthesis on P.463 of the book

Postby muimui » Wed Jul 18, 2007 7:53 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:
gnu/io/PortInUseException.

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.
Please help!
muimui
New User
 
Posts: 5
Joined: Mon Jul 02, 2007 10:32 pm

Postby bbagnall » Thu Jul 19, 2007 5:26 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.
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 6 guests

more stuff