I have my application ready for it's first release but I'm experiencing grief trying to get it to include another jar file it depends on.

The application uses the mysql connector so I need to include the mysql.xxx.jar

I'm using the Eclipse IDE. When I run the program from withing the IDE everything works, but when I export it to a jar the UI does come up but as soon as I do something that requires the database connection I get a ClassNotFoundException for the mysql driver.

How do I create the executable jar and include the mysql connector?