title: Troubleshooting "System property mbrola.base is undefined.  Will not use MBROLA voices" when converting text to speech with JSAPI
body: <p>I'm getting the following error:</p>
  
  <pre>
  System property "mbrola.base" is undefined.  Will not use MBROLA voices.
  </pre>
  
  <pre><code>import javax.speech.*;
  import javax.speech.synthesis.*;
  import java.util.Locale;
  
  public class HelloWorld
   {
  
  public static void main(String args[]) 
  {
  
  try 
  {
  // Create a synthesizer for English
  
  Synthesizer synth = Central.createSynthesizer(
  new SynthesizerModeDesc(Locale.ENGLISH));
  
  // Get it ready to speak
  
  synth.allocate();
  
  synth.resume();
  
  // Speak the “Hello world” string
  
  synth.speakPlainText("Hello", null);
  
  // Wait till speaking is done
  
  synth.waitEngineState(Synthesizer.QUEUE_EMPTY);
  
  // Clean up
  
  synth.deallocate();
  
  } 
  catch (Exception e)
   {
  e.printStackTrace();
  }
  
  }
  
  }
  </code></pre>