3 Replies Latest reply: Feb 25, 2010 4:23 AM by 843849 RSS

    freetts in j2me cdc

    843849
      hello

      i am trying to develop a mobile application (CDC) for speech recognition and synthesis in which i have used freetts and jsapi. i need to use the packagaes java.nio and java.util.regex.

      java.util.regex is used for pattern matching of the input string with the regular expressions. That means if i want my code to speak "Hello" it needs to parse the string and match it with a regular expression and then it would speak "Hello".

      here is the link (javadoc) : http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/package-summary.html

      however i added several other resources :

      resources.jar
      rt.jar
      jsse.jar
      jce.jar
      charset.jar
      dnsns.jar
      jmf.jar
      localedata.jar
      sound.jar
      sunjce_provider.jar
      sunmscapi.jar
      sunpkcs11.jar
      freetts.jar
      jsapi.jar
      libraries : juit3.8.2 and junit4.5

      after adding the above resources, i have full access to all the classes and sub-packages of java.util.regex and java.nio

      however, while executing the code the class file is not generated and but the jar file is generated. and i am getting the same ClassNotFoundException
      And when i build the project i get a warning that resources not found.

      kindly help.

      regards
      Radhika