vijay.katta wrote:I followed the steps mentioned by you but i am getting NullPointerException. In other thread [t-5349403]You have mentioned that just copying jsapi.jar is not enough. But i am not getting any other jar in lib folder of freetts1.2.2. When i click jsapi.exe. It is extracting jsapi.jar in lib folder.
fallow the steps:
see these links
then download freetts from sourceforge.net
fallow the link http://java.sun.com/products/java-media/speech/reference/codesamples/index.html
after successful download you can find freetts-1.2.1 ( version may change) zip file so, unzip the file.
u can find jsapi.exe in freetts-1.2.1\lib directory.
run the jsapi.exe the u get jsapi.jar file
add all jar files to the classpath
find this step in next thread...Hi Vijay