3
I created a java desktop application that connects to a Mysql database, how can I generate this application to run on any machine along with my database? Thank you!
3
I created a java desktop application that connects to a Mysql database, how can I generate this application to run on any machine along with my database? Thank you!
1
First you need to package your project including all its dependencies, recommend that you research a little more about ANT and Big jar. For the netbeans HERE has an example of how to compile your project with all its dependencies.
You can use some installer like Inno Setup or Install Creator to join the installer of My SQL and its application in a single executable to distribute.
0
It has to be fixed IP’s or DNS(nameserver) connection and the JBDC driver connects them correctly with this data. I believe that if they are correct there will be no problems arising.
Browser other questions tagged java mysql netbeans jar
You are not signed in. Login or sign up in order to post.
The database is one somewhere on the internet or it should be installed on the local machine along with the application?
– Victor Stafusa
Have to go on the local machine, provisionally I made a way to install the bank, but I will use Sqlite in my application to facilitate the installation.
– Eduardo Bachiega