How to create an executable in java + MySQL database?

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? Thanks!

    
asked by anonymous 08.04.2015 / 20:28

2 answers

1
  • First you need to package your project including all your dependencies, so I recommend that you search a little bit more about ANT and Big jar . For 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 merge the My SQL installer and your application in a single executable to distribute.

  • 14.04.2015 / 20:27
    0

    It must be fixed connection IPs or DNS (nameserver) and the JBDC driver correctly connects them to this data. I believe that if they are correct there will be no emerging problems.

        
    10.04.2015 / 15:18