I am PG student and started working on Sphinx4 for my Voice to Speech conversion project and I followed the instructions as they gave in index.html file of Sphinx4 folder.
After running the commands of JAVA_HOME, ANT_HOME and PATH commands I am trying to run ant command, it shows some errors like this
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/local/jdk1.6.0_14/bin/java
Can anyone help me to solve this error which will really helps me to continue my work further.