-
How to set Classpaths
Hi :)
I'm new here, this is my first post and I need some help. It's driving me up the wall lol.
Basically I found a website explaining speech recognition in Java, and it said to download speech recognition software called FreeTTS. When I downloaded it there was a .exe which I ran and it gave me a Jar file called jsapi. There were loads of other Jar files to.
The website provides code to help you get along and in the code there are import javax lines at the top. Which when I compile the command prompt says they do not exist. The website also says to include jsapi.jar in my java classpath, which is what I extracted from the .exe file.
So two questions and please explain it in very simple terms :) How do I include jsapi.jar in my classpath because I haven't got a clue lol. And when I get jsapi in my class path, when I compile the program will it recognize the javax things and not say they don't exist.
I've read a few things online and in my environment variables I do not have CLASSPATH. I've got javac working and my sdk is Java SDK 6 UP 23 if that's any help :) I'm also running Java version 6. Sorry for the length and I will be so grateful for any responses :)
Thank you :D
-
1. Java 6_24 is the current version
2. Do you use an IDE or javac?
-
Thank you very much for your reply.
Yes I Was using javac, however today I'm going to install netbeans IDE and see if I have any more luck ! Any tips for using classpaths in netbeans, or should I use a different IDE altogether ?
Thanks :)
-
I mean I personally <3 Eclipse but it's your choice. And IDE will simplify the process but I recommend actually learning and knowing how it works before you just press a button that does it all for you. I believe Google's servers are up and running so they may be helpful ;)