简体   繁体   中英

How do I create a desktop shortcut to start a .jar/.zip file?

I have a jar file myJar.zip . I open it from cmd

c:\users\owner>cd myfolder
c:\users\owner\myFolder>java -jar myJar.zip   

How would I create a desktop shortcut that would do this ?

Read this link: Oracle Documentation

It talks about creating an executable from a jar .

This link: Executable JAR File will also help you.

Cheers

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM