0

In mac we can use something like RunTime.getRunTime().exe("Say \hello world\"); for making our java program speak strings, using the say command, is there any way of doing something similar in windows with java?

desertnaut
  • 57,590
  • 26
  • 140
  • 166
  • @4castle , It is not... I'm asking how to use it in java, the user asked "Is there a way to use the MS Speech utility from command line? I can do it on a mac, but can't find any reference to it on Windows XP".... I don't mean to be rude, but I think you didn't even read my question – Julio Rosario Nov 12 '16 at 01:10
  • Yes, I read your question. You already know how to execute commands from Java, so now the question is just a matter of knowing what command to execute. The dupe question isn't outdated. – 4castle Nov 12 '16 at 01:13

0 Answers0