How to run a JAR file

前端 未结 11 2161
长发绾君心
长发绾君心 2020-11-22 04:18

I created a JAR file like this:

jar cf Predit.jar *.*

I ran this JAR file by double clicking on it (it didn\'t work). So I ran it from the

11条回答
  •  囚心锁ツ
    2020-11-22 04:59

    To run jar, first u have to create

    executable jar

    then

    java -jar xyz.jar

    command will work

提交回复
热议问题