简体   繁体   English

如何从NetBeans创建可执行程序

[英]How to create an executable program from netbeans

I have just finished developing a small java application on Netbeans IDE. 我刚刚在Netbeans IDE上完成了一个小型Java应用程序的开发。 I am curious as to how I can convert that into an executable program from netbeans. 我很好奇如何将其从netbeans转换为可执行程序。 So that there would be a short cut icon which when double clicked loads all classes and runs the main function with all relevant jar files also compiled. 这样,将有一个快捷方式图标,双击该图标可以加载所有类,并在编译所有相关jar文件的情况下运行main函数。 ie JCalender, JTatto, aswell as sqlitejdbc.jar. 即JCalender,JTatto以及sqlitejdbc.jar。 all of which are in a directory of the project. 所有这些都在项目的目录中。

查看Launch4j ,这是一个Java程序,可以将.jar文件转换为标准Windows Executable .exe文件,同时将所有引用构建到该文件中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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