public void say(String text) throws Exception {
public void say(String text) throws IOException {
  public void say(String text) throws Exception {      // Do nothing if there's no speech executable.    if (!supported)      return;        if (synthProcess == null) {      synthProcess = Runtime.getRuntime().exec(new String[] { synthPath, "--interactive" });      os = synthProcess.getOutputStream();      is = synthProcess.getInputStream();      while (true)        if (getch() == '>')          if (getch() == ' ')            break;    }    while (is.available() > 0)      getch();        String s = "(SayText \"" + text.replace('"', ' ') + "\")\n";    System.out.println(s);    os.write(s.getBytes());    os.flush();    while (true)      if (getch() == '>')        if (getch() == ' ')          break;       System.out.println();  }