This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So im not sure whats going on here. Im writing a project which in turn is an executable jar. It connects to a mysql server running wherever. So when i package the project everything goes according to plan...or so you think it does. When running the project from command line java -jar myproject.jar everything works great and the database gets loaded as well. Yet when i navigate to that folder graphically and double click the executable jar it wont load the JDBC. Im not sure why this is, that it will do it through the command line but not through double-clicking. here is the manifest file i created if this helps any:
This means that if your executable jar file is in directory X, then the mysqlConnector.jar file must be in directory X/mysql. If that's not the case, then you will be having problems with not being able to find the driver class.