I was wondering if someone could give me some instructions on how to do the following:
- How to add mysql connection JAR file to the Eclipse plugin build path
- How to add the connector JAR file as library and adding to the plugin's runtime classpath
I am getting com.mysql.jdbc.Driver exception when trying to load the Driver class using Class.forName("com.mysql.jdbc.Driver")
. I have added the jdbc driver to the project by right clicking on the project name and selecting add Library button. But I found out there for eclipse rcp project there is a different way of adding the jdbc jar file.