简体   繁体   中英

How to create an installer package for java application along with database created in mysql

I have completed a java application. Now I have to generate an installer package for the application. It also has a database made in mysql. How can i generate an installer along with my database that created in mysql.

To package a program in Netbeans, you may first need to enable it.

  1. Right click on your project and go to Properties
  2. Under Build -> Deployment Make sure that Enable Native Packaging is enabled
  3. Save and close the Properties window

You will also need to install 1 or both of the following (For windows builds):

Now to build the installer:

  1. Right click on your project and go to Package as and select how you want to package it.
  2. Answer the questions it asks and build

You can find more information here: https://netbeans.org/kb/docs/java/native_pkg.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM