How to create shortcut icon for java program

前端 未结 11 2655
野性不改
野性不改 2020-12-29 10:57

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

11条回答
  •  旧巷少年郎
    2020-12-29 11:06

    To do this:

    • Right click in the destination folder(for the shortcut)
    • Click New -> Shortcut
    • In "Type the location of the item" enter java -jaryour jar path(full)
    • Click next end enter a name
    • It should now work!

    You can change the icon of your shortcut, too:

    • Right click -> Properties -> Shortcut -> Change Icon

提交回复
热议问题