Launch4J - how to attach dependent jars to generated exe

前端 未结 7 916
深忆病人
深忆病人 2020-11-28 13:43

I have a simple java project, which requires external jars. I build this with netbeans and after Clean and Build command, I can find in dist directory the following structur

7条回答
  •  清酒与你
    2020-11-28 14:22

    Putting different links of places which had helped me

    How to include all dependent Jars within a single non-executable jar?

    How can I create an executable JAR with dependencies using Maven?

    http://www.mkyong.com/java/how-to-make-an-executable-jar-file/

    and most importantly

    http://docs.oracle.com/javase/tutorial/deployment/jar/manifestindex.html

    quick tut

    http://www.mkyong.com/java/how-to-add-your-manifest-into-a-jar-file/

提交回复
热议问题