How to create shortcut icon for java program

前端 未结 11 2659
野性不改
野性不改 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:12

    You should be able to create shortcut as normal.

    After all, installing Java on Windows should by default allow you to run .jar files directly; there should be an association of that extension to java.exe. Alternatively, you can create a batch file to run the jar and then create the shortcut for that file.

提交回复
热议问题