Could you please tell me from where I can download JVM 1.4 and the Java Speech API?
Download and install IBM’s Speech for Java
A link from the Desktop Java Java Speech API leads to the SourceForge page for FreeTTS. The FAQ says:
The Java Speech API (JSAPI) is not part of the JDK and Sun does not ship an implementation of JSAPI. Instead, we work with third party speech companies to encourage the availability of multiple implementations.
The FAQ also lists and links to several more implementations:
I haven't investigated any of these myself, but there appears to be a wealth of 3rd party implementations.