Re: FreeTTS synthesis driver not starting



Ok, found and fixed it. The freetts-synthesis-driver turned out to be
a script which defines its own classpath.
 
Bad value was:
CLASSPATH=NONE/share/jar/gnome-speech.jar:/usr/local/share/jar/gnome-java-bridge.jar:/home/magarwal/freetts/freetts-1.2.1/lib/freetts.jar:/home/magarwal/freetts/freetts-1.2.1/lib/en_us.jar:/home/magarwal/freetts/freetts-1.2.1/lib/cmulex.jar:/home/magarwal/freetts/freetts-1.2.1/lib/cmu_us_kal.jar:NONE/share/jar/freetts-synthesis-driver.jar
Correct value should have been:
CLASSPATH=/usr/local/share/jar/gnome-speech.jar:/usr/local/share/jar/gnome-java-bridge.jar:/home/magarwal/freetts/freetts-1.2.1/lib/freetts.jar:/home/magarwal/freetts/freetts-1.2.1/lib/en_us.jar:/home/magarwal/freetts/freetts-1.2.1/lib/cmulex.jar:/home/magarwal/freetts/freetts-1.2.1/lib/cmu_us_kal.jar:/usr/local/share/jar/freetts-synthesis-driver.jar



On 4/14/05, Aditya Pandey <aditya kumar pandey gmail com> wrote:
> Hi
> I have  compiled gnome-speech 0.3.5 with freeTTS (it works well
> independently) and have installed gnome-java-bridge for Linux Fedora
> core 3.
> 
> Festival works well with gnome-speech, but it is not able to
> instantiate properly the freetts-synthesis-driver. On running driver
> from command line, this happens:
> 
> /usr/local/bin/freetts-synthesis-driver
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/GNOME/Speech/FreeTTSSynthesisDriver
> 
> [root india-26-89 test]# echo $CLASSPATH
> :/home/magarwal/freetts/freetts-1.2.1/lib/freetts.jar:/usr/local/jdk1.5.0_02/jre/lib/ext:/usr/local/jdk1.5.0_02/lib:/home/magarwal/freetts/freetts-1.2.1/lib/freetts.jar:/usr/local/jdk1.5.0_02/jre/lib/ext:/usr/local/jdk1.5.0_02/lib
> 
> I thought this is some classpath problem,so have gone ahead and added
> path for freetts.jar (which contains this class), but still no head
> way. Am I doing some wrong?
> 
> --
> Aditya Kumar Pandey
> ----------------------------------------
> Contact:  +91-9868263500; +91-11-25165432
> 


-- 
Aditya Kumar Pandey
----------------------------------------
Contact:  +91-9868263500; +91-11-25165432



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]