ss_blog_claim=752cdf4fa7cc7b60527b400da1af07d5

Written on February 20th, 2009 at 7:08 am by Shunmugha

7 Comments

Are you blasted up with this error message “package javax.speech does not exist”.

Here is the solution:

Download any one of the following

1.http://cmusphinx.sourceforge.net/sphinx4/

2.http://freetts.sourceforge.net/docs/index.php

-Extract and Go to lib folder
-Install Jsapi.

In Eclipse:
-Copy and paste Jsapi .jar from lib folder to your project.
-Right click jsapi.jar and click Build path->Add to BuildPath
javax.speech package
Now compile your code it should be fine.

In NetBeans:

-Just right click on library folder of your project and click add jar/folder and select the jsapi.jar file.

javax.speech
-Done!:)

Soon i will post my “Speech Enabled Command and Control project “done using Sphinx4 in this site.

,

7 Responses to “Package javax.speech does not exist?”


  1. rajat

    12 months ago

    ON RUNNING THE JAVAVOICE APPLICATION(CONVERTS TEXT TO VOICE) ON NETBEANS, I GET THIS SORT OF MESSAGE….

    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\Administrator\JavaApplication1\build\classes
    Note: C:\Documents and Settings\Administrator\JavaApplication1\src\javaapplication1\Main.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    compile:
    run:
    Exception in thread “main” java.lang.NullPointerException
    at Main.(Main.java:51)
    at Main.main(Main.java:187)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 2 seconds)

    WAT ELSE DO I HAV TO NEED TO DO TO RUN THE APPLICATION.? PLEASE HLP…


  2. rajat

    12 months ago

    EVEN AFTER INSTALLING JSAPI.JAR. I’M NOT ABLE TO REMOVE THIS ERROR..
    I HAVE COPY PASTED THE JAVAX.SPEECH FOLDR TO ‘LIB’ FOLDER OF JDK1.6.0 FOLDER.. IT MADE NO DIFFERENCE..:(
    KINDLY HELP….


  3. admin

    12 months ago

    The problem should be with your code might be syntactical error correct it..Also allocate enough heap memory for JVM.


  4. Jason

    6 months ago

    What about if I’m not using NetBeans or Eclipse? I like to use command prompt to compile my java codes. Do I need to add this to the PATH in my Environment Settings? or do I copy/paste all the files into my “Program Files/Java” folder? How can I do this?


  5. Manoj

    3 weeks ago

    I have downloaded javax.speech packege from ur site. and also i have added it to library of netbeans but still it is not working. Give me solution.

2 Trackbacks For This Post

  1. Solution-Where to get javax.speech package ? | Technobuz Says:

    [...] this too:http://technobuz.com/2009/02/package-javax-speech-does-not-exist Powered by Stumble! for WordPress Related Posts:Package javax.speech does not exist?Custom RUN [...]

  2. Package javax.speech does not exist? | Technobuz | BlogBov Says:

    [...] Read more from the original source: Package javax.speech does not exist? | Technobuz [...]

Leave a Reply