Having Problems Getting FreeTTS and JSAPI Working

Posted by Travis on Stack Overflow See other posts from Stack Overflow or by Travis
Published on 2010-05-17T06:29:11Z Indexed on 2010/05/17 6:30 UTC
Read the original article Hit count: 541

Filed under:
|
|
|

I have a simple project idea based off of FreeTTS and the JSAPI (Java Speech API)

I've downloaded and unpacked FreeTTS and run their build script. Then tried compiling my code linking in the lib directory into the class path like this:

javac -cp /home/travis/Desktop/freetts-1.2/lib HelloUnleashedReader.java

Which then compiles to java bytecode just fine. However when I run:

java HelloUnleashedReader

I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/speech/EngineModeDesc

Any help on this issue would be greatly appreciated as there are many sites around the net discussing problems with getting it to work but not many that discuss their solution.

© Stack Overflow or respective owner

Related posts about java

Related posts about jsapi