windows 我可以通过桌面上的图标运行 Java 程序吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2753371/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:23:44  来源:igfitidea点击:

Can I run a Java program through an icon on my desktop?

javawindowssoftware-distributionlauncher

提问by WM.

as running any exe file or something..??

作为运行任何exe文件或其他东西..??

回答by Mario Ortegón

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

它还具有其他优点,例如它可以确保您拥有正确的虚拟机,并下载正确的虚拟机以防万一