Posted by felipegaucho
on November 23, 2005 at 11:10 AM PST
Packing a simple application I discovered I can't include the driver of the MySql into the JAR of my application. This is a feature of the JAR tool that force the users to download several files or to use an external unzip tool in order to unzip the files before running the aplication - very odd.
These days I'm finishing another course about Java and JDBC - everything was ok during the course and I decided to deploy the complete sample application to my students through their mailing list. The project is a simple Swing/JDBC application accessing a few tables in the MySql.
When I created the deployable JAR I detected a surprising detail: I can