Deploying an app that uses freeTTS
843802May 30 2007 — edited May 31 2007I'll get the hang of this soon :-)
I'm trying to deploy an application that uses the FreeTTS Text to speech. I'm using Netbeans IDE. The program runs fine locally, but when I run it via Web Start, it closes with an exception at the point it initialises the FreeTTS, so I guess I'm missing a .jar in the deployment?
I've included 5 .jar files that were included with the FreeTTS download, (and these match the ones I have added to the list of libraries in Netbeans).. the important bits of the exception are:
myapp.Main.StartVoice(Main.java:83) <<- this is my function that initialises
myapp.Main.main(Main.java:45)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.sun.javaws.Launcher.executeApplication(Unknown Source)
com.sun.javaws.Launcher.executeMainClass(Unknown Source)
com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
com.sun.javaws.Launcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
So, I guess the first question would be what .jar files do I need to include for a simple program that uses the Kevin16 voice to say "hello", and is the above exception telling me It is missing a .jar file?
Thanks in advance for any help.
Message was edited by:
Forgeuk