如何在java中制作可执行程序?

问题描述:


可能重复:

如何将我的Java程序转换为.exe文件?

如何在java中制作可执行程序?

How to make executable program in java?

你不要真的需要,还有许多其他选择:

You don't really need to, there are a number of other options available:

  • As Philip suggested you can use an executable jar file. See http://www.ibm.com/developerworks/library/j-jar/index.html
  • You can build on top of a framework that already has its own launcher such as Eclipse. See http://wiki.eclipse.org/index.php/Rich_Client_Platform
  • You can use a technology such as Java web start to launch your app from a browser. See http://en.wikipedia.org/wiki/Java_Web_Start (or just package your app as an applet)