But for this code i am getting an exception of javax.speech.EngineException: javax.speech.Central: no class found for com.cloudgarden.speech.CGEngineCentral
at javax.speech.Central.registerEngineCentral(Central .java:706)
at javaapplication20.Main.main(Main.java:41)

#JSGF V1.0;
grammar com.sarf.talkingjava.example;
public <startExample> = (please | My name is sarf |
What is your Name | Open Firefox | Open notepad |Open grammar |
Please to meet you ) *;
public <endExample> = [thanks | thank you | thank you very much];

I get the output as
CloudGarden's JSAPI1.0 implementation
Version 1.7.0
Implementation contained in files cgjsapi.jar and cgjsapi170.dll
>> Initializing Cloudgarden's JSAPI 1.0, version 1.7.0
>> Free for personal use only.
>> Any form of commercial, corporate or institutional use requires purchase of a
license.
>> Please visit Cloud Garden (Java Resources) for details.