• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???
 
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic