如何为java程序创建快捷方式图标 [英] How to create shortcut icon for java program
问题描述
您好我已经创建了我的java程序的可执行jar我想为该jar创建快捷方式图标。手段可能是我的jar在硬盘的任何其他内存位置(例如-D或E驱动器用于Windows)但我的图标必须在桌面上。因此,如果我双击桌面上的图标,那么我的应用程序将启动。
如何创建这个
Hi I have created executable jar of my java program i want to create shortcut icon for that jar. Means may be my jar is in any other memory location of hard drive(eg- D or E drive for windows) but my icon must be at Desktop. So that if i double click on icon from desktop then my application will start. How to create this
谢谢
Sunil Kumar Sahoo
Thanks Sunil Kumar Sahoo
推荐答案
您需要四处寻找Java Windows安装程序,它们具有创建桌面快捷方式的功能。请查看此文章和这个。
You need to look around for Java Windows Installers, they have functionality to create desktop shortcuts. Take a look at this article and this one too.
Install4J 是我个人最喜欢的
这篇关于如何为java程序创建快捷方式图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!