Running a JAR file without directly calling `java`

前端 未结 3 1518
北海茫月
北海茫月 2020-11-30 01:09

I am deploying a command-line tool that is written in Java that accepts command-line arguments. I have it packaged as a JAR file because it is convenient to have a single f

3条回答
  •  难免孤独
    2020-11-30 01:19

    On debian based distribution, it is possible to install jarwrapper

    sudo apt-get install jarwrapper
    

    I think that this is possible to do the same thing on other distributions by installing with the same package name.

提交回复
热议问题