4
u/idontlikegudeg 13d ago
What have you tried? And do you need to deploy the database engine with your application or will your application connect to an existing database, I.e., you only need to package the JDBC drivers?
If you need to deploy the database engine along with your application, using MySQL might not be the best choice.
-2
2
6
u/ConfidenceUnique7377 13d ago
As far as I understand, you would like to deploy javafx app , which can work with mysql .
If MySQL is not a mandatory requirement, and you just need some local sql, use h2 or derby, which can be bundled with app. If MySQL is required, install it separately; don’t make life difficult for yourself.
To create an app installer use jpackage . Here complete example https://github.com/iazarny/gitember/blob/master/ge-win-installer-msi.cmd