Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create a .msi file for a Java program ? (eclipse)

I have a java project which I'm hoping to package and sell. How can I create a .msi file which will install my program on other windows computers? If there are any tutorials, please direct me to them. I'm also using Eclipse if that has any bearing on how to create the .msi file.

Thanks

like image 284
Rolan Avatar asked Nov 11 '10 22:11

Rolan


1 Answers

I believe you want to look at Native Packaging, which according to this link was first introduced with JavaFX 2.2

https://netbeans.org/kb/docs/java/native_pkg.html

Since it seems to be official Netbeans docs, I imagine it is sanctioned by Oracle. Here is the counterpart for Mac for interested readers.

http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html

like image 134
Daniel Gerson Avatar answered Oct 06 '22 09:10

Daniel Gerson