Error in java text to speech help resolve below exception
I used program to get a string and speak what is written Exception in thread "Thread-0" java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian is supported. at java.desktop/javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:425) at com.sun.speech.freetts.audio.JavaStreamingAudioPlayer.openLine(JavaStreamingAudioPlayer.java:194) at com.sun.speech.freetts.audio.JavaStreamingAudioPlayer.begin(JavaStreamingAudioPlayer.java:410) at com.sun.speech.freetts.relp.LPCResult.playWaveSamples(LPCResult.java:505) at com.sun.speech.freetts.relp.LPCResult.playWave(LPCResult.java:403) at com.sun.speech.freetts.relp.AudioOutput.processUtterance(AudioOutput.java:65) at com.sun.speech.freetts.Voice.runProcessor(Voice.java:595) at com.sun.speech.freetts.Voice.outputUtterance(Voice.java:536) at com.sun.speech.freetts.Voice.access$200(Voice.java:81) at com.sun.speech.freetts.Voice$1.run(Voice.java:496)