I have create a database application that is login base . I have completed this project. and I was used a phpMyAdmin for database. but the problem is that how I can create a exe file for end users. How to build MySQL database file in Java project to create a exe?
2 Answers
MySQL is not an embedded databsse. Rather than using standalone DBMS's(MySQL) you can use lightweight DBMS's such as SQLite, Firebird and embedded databases made in Java like H2, HSQL, Derby and etc.
Anyhow,
If you want MySQL you can use Connector/MXJ. You can read this blog to see how to use this.
There is several ways(or softwares) you can use to create exe. I am using the following method.
Download exe4j to create exe from jar. then using exe4j you can include jar and add your info and setup. Like the below images.
if you want more help to use exe4j you can reffer to this video. youtube





