如何在java中制作可执行程序?
答
你不要真的需要,还有许多其他选择:
You don't really need to, there are a number of other options available:
- 正如Philip建议您可以使用可执行jar文件。请参阅 http://www.ibm.com/developerworks/library/j- jar / index.html
- 您可以在已经拥有自己的启动程序(如Eclipse)的框架之上构建。请参阅 http://wiki.eclipse.org/index.php/Rich_Client_Platform
- 您可以使用Java web start等技术从浏览器启动应用程序。请参阅 http://en.wikipedia.org/wiki/Java_Web_Start (或将您的应用打包为小程序)
- 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)