Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JDBC+MYSQL

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JDBC+MYSQL

    hi all,

    I have been trying very hard. But can any 1 tell me that if i were to use simple notepad for jdbc and mysql connection without any ides and just for my stand alone application not for web were you would tell me to put mysqlconnector.jar file webinf/lib folder where would i place my mysql connector.jar and how would i edit my classpath settings. cause am having real difficulty in doing this.

    Thank you

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: JDBC+MYSQL

    See the following link for some instructions on how to add libraries to the classpath:
    Setting the class path
    Give some of the advice in there a try, and if you have problems post back what you tried with full errors

Similar Threads

  1. Replies: 3
    Last Post: November 2nd, 2011, 10:56 AM
  2. java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    By i4ba1 in forum JDBC & Databases
    Replies: 2
    Last Post: August 23rd, 2011, 12:41 PM
  3. Replies: 1
    Last Post: June 15th, 2011, 01:27 PM
  4. com.mysql.jdbc.exceptions.MySQLIntegrityConstraint ViolationException:
    By bobbyraj2003 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: May 25th, 2011, 09:10 AM
  5. MySQL Database
    By pjeremy90 in forum Java Theory & Questions
    Replies: 2
    Last Post: June 12th, 2010, 10:34 AM