• 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic