I have downloaded and installed FreeTTS demos work but my HelloWorld.java do not work the following errors come
{
HelloWorld.java:1: package javax.speech does not exist
import javax.speech.*;
^
HelloWorld.java:2: package javax.speech.synthesis does not exis
import javax.speech.synthesis.*;
^
HelloWorld.java:9: cannot find symbol
Synthesizer synth = Central.createSynthesizer(
^
symbol: class Synthesizer
location: class HelloWorld
HelloWorld.java:10: cannot find symbol
new SynthesizerModeDesc(Locale.ENGLISH));
^
symbol: class SynthesizerModeDesc
location: class HelloWorld
HelloWorld.java:9: cannot find symbol
Synthesizer synth = Central.createSynthesizer(
^
symbol: variable Central
location: class HelloWorld
HelloWorld.java:20: cannot find symbol
synth.waitEngineState(Synthesizer.QUEUE_EMPTY);
^
symbol: variable Synthesizer
location: class HelloWorld
6 errors

}

please help me by telling how to use Freetts and JSAPI correctly ....