How can I make an exe in NetBeans? [duplicate]

独自空忆成欢 提交于 2019-11-29 14:29:21

问题


Possible Duplicate:
How can I convert my java program to an .exe file ?

How can I create an .exe file in NetBeans for a Java program?

I've had a look around, and I can make a JAR but not an exe.


回答1:


Have a look at JAR wrappers like Jar2Exe, JSmooth or Launch4j.

They will wrap your JAR inside an executable which role is to launch the JVM.




回答2:


If it is Java. You may need another tool to pack an exe for your application. E.g. http://www.duckware.com/jexepack/index.html




回答3:


There are wrappers like Launch4j that can wrap .jars into .exe launchers. However, even those require the JRE to be present in the system to work.



来源:https://stackoverflow.com/questions/1973431/how-can-i-make-an-exe-in-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!