How to run a maven created jar file using just the command line

前端 未结 4 1111
庸人自扰
庸人自扰 2020-12-01 05:20

I need some help trying to run the following maven project using the command line: https://github.com/sarxos/webcam-capture, the webcam-capture-qrcode example is the one I\

4条回答
  •  一整个雨季
    2020-12-01 05:37

    I am not sure in your case. But as I know to run any jar file from cmd we can use following command:

    Go up to the directory where your jar file is saved:

    java -jar .jar
    

    But you can check following links. I hope it'll help you:

    Run Netbeans maven project from command-line?

    http://www.sonatype.com/books/mvnref-book/reference/running-sect-options.html

提交回复
热议问题