Results 1 to 4 of 4
Thread: How to set Classpaths
- 04-24-2011, 07:13 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 3
- Rep Power
- 0
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
- 04-24-2011, 10:47 PM #2
- 04-25-2011, 01:57 AM #3
Member
- Join Date
- Apr 2011
- Posts
- 3
- Rep Power
- 0
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 :)
- 04-25-2011, 02:04 AM #4
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 ;)
Similar Threads
-
Beginner issues: Packages, classpaths and JARs
By circle in forum New To JavaReplies: 3Last Post: 05-31-2010, 03:43 AM -
Help understanding packages and classpaths
By porchrat in forum New To JavaReplies: 2Last Post: 04-24-2009, 09:22 PM -
What are classpaths!?
By jimm1 in forum New To JavaReplies: 1Last Post: 02-03-2008, 05:54 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks