How to make an install for a Java compiled GUI Program ?

Is it possible to make an install for a Java compiled GUI program which has a MySQL DataBase ? If yes, how to include that Base to the installation assistant ( which MySQL files have to be included ) ?
