Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    That post was the same as post#15. So we are now going in circles.
    My response is what was said in post#16

    If this is a netbeans setup problem, I'll move this thread to the Netbeans section.
  2. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    The java machine can not find the definition for the com.microsoft.sqlserver.jdbc.SQLServerDriver class. It's definition needs to be on the classpath.
    This has been discussed before.
  3. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    Please explain what you are trying to do in more detail. What isn't working?

    If this is a question about how to use your IDE, I'll move the thread to the IDE section.
  4. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    sorry, I don't know anything about netbeans.
  5. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    The java command has an option: -cp that can be used to put a class or jar with classes on the classpath.
    For example (on windows) this adds the current dir (.) and the jsoup.jar to the classpath:...
  6. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    Make sure the class (or the jar containing it): com.microsoft.sqlserver.jdbc.SQLServerDriver is on the classpath
  7. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    To see what is wrong, call the printStackTrace() method in the catch block. It will give a fuller error message.
  8. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    That would be a java class file.
  9. Replies
    25
    Views
    3,202

    Re: JAVA SQL Connection

    Can you put the missing classes in your jar file?
Results 1 to 9 of 9