Jar within a Jar
posted 12 years ago
I have an application which uses a mysql connector packaged as a .jar file, and I would like to put my entire application into a Jar file (including the connector jar). I tried putting the connector Jar within my project Jar, but then when I executed the project Jar, it was not able to find the database connector class. Does anyone know the best way to do this? Someone told me I could probably unzip the connector Jar into my project directory, but this seems a messy way to do things.