Question

I'm writing an application that makes use of Java's speech API and FreeTTS. The application works fine when I run it from the Netbeans IDE, but when I try to run it from a jar file on my local machine or on other machines, I get the following error:

"java.lang.NoClassDefFoundError: com/sun/speech/freetts/VoiceManager"

Is there any way for me to include the FreeTTS files in my jar file so it can run anywhere?

Any help would be greatly appreciated.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top