Compiling/running CMUSphinx EvalDictator

A few simple steps to get CMUSphinx EvalDictator running in OS X 10.6.

1. Check out the source for cmusphinx tools:

svn co sphinxtools

2. Set environment variable JAVA_HOME:

This variable should point towards your java installation. Edit .bash_profile in your home directory, and add the line:
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home/"

Quit Terminal and start it again.

3. In your sphinx tools directory (sphinxtools/dictator/build) edit build.xml:

In the path section, change${env.JAVA_HOME}/jre/lib/javaws.jar" to ${env.JAVA_HOME}/lib/javaws.jar.

4. In that directory, type ant to build the application.

5. Run Sphinx: java -mx256m -jar dictator.jar

more help here