Results 1 to 4 of 4
  1. #1
    stevonator is offline Member
    Join Date
    Apr 2011
    Posts
    3
    Rep Power
    0

    Default 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

  2. #2
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    4

    Default

    1. Java 6_24 is the current version
    2. Do you use an IDE or javac?

  3. #3
    stevonator is offline Member
    Join Date
    Apr 2011
    Posts
    3
    Rep Power
    0

    Default

    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 :)

  4. #4
    ra4king's Avatar
    ra4king is offline Senior Member
    Join Date
    Apr 2011
    Location
    Atlanta, Georgia, US
    Posts
    396
    Rep Power
    4

    Default

    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

  1. Beginner issues: Packages, classpaths and JARs
    By circle in forum New To Java
    Replies: 3
    Last Post: 05-31-2010, 04:43 AM
  2. Help understanding packages and classpaths
    By porchrat in forum New To Java
    Replies: 2
    Last Post: 04-24-2009, 10:22 PM
  3. What are classpaths!?
    By jimm1 in forum New To Java
    Replies: 1
    Last Post: 02-03-2008, 06:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •