[英]Can I run a Java program through an icon on my desktop?
作为运行任何exe文件或东西.. ??
Make an executable JAR file: 制作一个可执行的JAR文件:
http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html
Use Java Web Start to package and deploy your application on a web server. 使用Java Web Start在Web服务器上打包和部署应用程序。
During launch, It will create desktop shortcuts that can connect to a server and update your application if updates are found. 在启动期间,它将创建桌面快捷方式,可以连接到服务器并在找到更新时更新您的应用程序。
It also has other advantages, like the fact that it can ensure that you have the right virtual machine, and download the right one in case you don't 它还有其他优点,例如它可以确保您拥有正确的虚拟机,并在您不使用的情况下下载正确的虚拟机
You can create an executable with one of the following: 您可以使用以下方法之一创建可执行文件:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.