简体   繁体   中英

create an executable jar including all of its dependencies in NetBeans

I have seen many methods of creating an executable jar including all of its dependencies using eclipse, MAVEN and cmd. I want to create an executable jar with its dependencies using NetBeans.

there i tools available to make jars executable and my preferred one is Launch4J. you can configure Lauch4j in your maven to get the exe on build as well. For manual configuration refer the link https://techwayz.com/convert-jar-to-exe-launch4j/

to understand maven configuration you can refer stackoverflow answer Create exe with launch4j with maven

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