AnOldSoul
AnOldSoul

Reputation: 4207

How to convert a jar file to an executable with MySQL in it?

I have a java application which uses MySQL as its database. In order to deliver the project, I need to convert it to an executable with MySQL included. I have tried exe4j but it doesn't allow to include the database. Please advice. The project is done in Netbeans.

Upvotes: 1

Views: 1372

Answers (1)

Tobias Roland
Tobias Roland

Reputation: 1223

Although it's not being actively developed any longer due to low demand, you can have a look at the MySQL-Connector/MXJ package that's meant for "embedding" your MySQL-database into your application - I recon' it still should be able to do the trick.

But to be honest, the most future-proof solution would be to switch out your database with another option, preferably an in memory database such as H2database or SQLite.

Upvotes: 2

Related Questions