Embedding Mysql to Executable jar file
I have deployed the java project properly . But i have problem embedding my MySQL database with it. It keep on telling me "no suitable driver found for jdbc:mysql://localhost/humans". please can you give me step by step procedure on how to proceed. Thank you in advance
Re: Embedding Mysql to Executable jar file
You need to supply the mysql connector jar file with your jar file, and reference that jar file in the Manifest of the executable jar.
This means you would normally supply something like:
deploy directory -> your jar file