Error creating class: com.mysql.jdbc.Driver

Discussion in 'Java' started by leo, Feb 7, 2005.

  1. leo

    leo Guest

    I'm using netbeans4.0 IDE for a mySQL jbdc application. Within
    netbeans the application works fine, I can connect, read and write to
    the db. However when I run from the jar directly I get "Error creating
    class: com.mysql.jdbc.Driver" when I try to create the driver using

    I did put mysql-connector-java-3.1.6-bin.jar in the classpath for
    compiling sources. Also when running from the command line prompt I've
    added the -classpath including the full directory and name of the
    connector jar file. Still doesn't work. What am I doing wrong?

    leo, Feb 7, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.