Java application and MySQL installation in a single package

前端 未结 2 1145
后悔当初
后悔当初 2021-01-01 01:55

How can I pack a Java application and MySQL installation files in a single exe file? Can I install the MySQL files automatically in background (or without any inputs from u

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-01 02:22

    Use Java Web Start to launch the application.

    JWS offers an ExtensionInstallerService that can be used for installing MySQL. Here is a small demo. of the ExtensionInstallerService.

提交回复
热议问题