Hi Sagar, I'm not sure with eclipse 5.1 cause I haven't used it yet but here's some points:
1. If you are creating a desktop app then you should add it to the build path.Right click the project and select Build Path -> Configure Build Path and go to the Libraries tab and click Add External Jars and add your mysql driver. 2. If you're creating a web project you must add it to the Java EE Module dependencies instead. Right click your project then go to Properties you should find Java EE Module Dependencies on the side bar then just add you jar. Regards, Bob On Fri, Sep 18, 2009 at 1:24 PM, aryan <sagar.k...@gmail.com> wrote: > > Hi, > In eclipse 5.1 there is only one driver "JDBC ODBC" Driver. I want to > add mysql driver. how can i add driver to eclipse. > > Regards > Sagar > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---