问题
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 .jar
s 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