This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.speech...., not recognized???

 
ron mccarthy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey huys,
I am using a speech synthesis engine to read text for me but unfortunately when i try and compile my class it gives me the following errors.....
package javax.speech does not exist
packafe javax.speech.synthesis does not exist
All that I am doing is importing these two at the top of the page, as follows:

Can anyone help please???
 
Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've had the same trouble with the javax.comms package.

A kind ranch hand told me that you can either get it to work by registering the jars you need to import with the classpath or...

the lazy way is to put the jars you need in the <javahome>\jre\lib\ext

I'm putting all of my things like the comm jar and the mail jar there. Just be carefull with the lazy way because if you need different versions of the jar to use in different applications you may have a problem

Hope it helps!
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!