How do I develop JBuilder 2008 applications that speak and listen?
Last reviewed: 11/29/2008
HOW Article ID: H110809
The information in this article applies to:
- SpeechKit 6
Summary
SpeechKit 6 includes updated samples for JBuilder 2008 from CodeGear.
More Information
Configure JBuilder-Eclipse (JBuilder 2007 and 2008) to use the Chant SpeechKit Java Component Library with the following steps:
- copy the DJSpeechKit.DLL (C:\Program Files\Chant\SpeechKit 6\Win32 Developer\Java\bin\DJSpeechKit.DLL) file to your Java JRE bin directory; and
-
configure the speechkit.jar and chant-shared.jar libraries (C:\Program Files\Chant\SpeechKit 6\Win32 Developer\Java\libv1.x) within your JBuilder project as follows:
- create a lib directory containing speechkit.jar and chant-shared.jar within your project root directory;
- right-click on the speechkit.jar file and select Build Path | Add To Build Path; and
- right-click on the chant-shared.jar file and select Build Path | Add To Build Path.
Configure JBuilder-Eclipse (JBuilder 2007, 2008, and 2009) to run the Recognition and Synthesis samples with the following steps:
- copy the DJSpeechKit.DLL file (C:\Program Files\Chant\SpeechKit 6\Win32 Developer\Java\bin\DJSpeechKit.DLL) to your Java JRE bin directory;
- copy the JBuilder-Eclipse Recognition and Synthesis project folders (i.e., Documents\Chant SpeechKit 6\Java\JBuilder-Eclipse\Recognition and Documents\Chant SpeechKit 6\Java\JBuilder-Eclipse\Synthesis) to your JBuilder workspace directory;
- within JBuilder, select File | Import; and
- select General | Existing Projects into Workspace.
The JBuilder-Swing samples can be opened end edited under the Swing Designer (JBuilder 2008 and 2009). Configure JBuilder-Eclipse (JBuilder 2008 and 2009) to run the Recognition and Synthesis samples with the following steps:
- copy the DJSpeechKit.DLL file (C:\Program Files\Chant\SpeechKit 6\Win32 Developer\Java\bin\DJSpeechKit.DLL) to your Java JRE bin directory;
- copy the JBuilder-Swing Recognition and Synthesis project folders (i.e., Documents\Chant SpeechKit 6\Java\JBuilder-Swing\Recognition and Documents\Chant SpeechKit 6\Java\JBuilder-Swing\Synthesis) to your JBuilder workspace directory;
- within JBuilder, select File | Import; and
- select General | Existing Projects into Workspace.
Place import com.speechkit.*; and import net.chant.shared.*; statements in your application to reference the SpeechKit classes and members within your code.
JBuilder-Eclipse sample projects are installed at [My] Documents\Chant SpeechKit 6\Java\JBuilder-Eclipse and [My] Documents\Chant SpeechKit 6\Java\JBuilder-Swing.