Java: how to create a working .exe from a native installer?

前端 未结 3 1349
小鲜肉
小鲜肉 2021-01-06 03:42

I have a program I want to be able to be installed easily by any user, and I thought creating a native installer was the way to go. I used Netbeans 8.0\'s functionalities (P

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-06 04:26

    I thinks your main class is not correctly set to package. Instead of using Netbeans you can make exe from your jar file using exe4J.(please make sure main class is set from project > properties > run > main class

    download exe4J from here

提交回复
热议问题