Can't execute jar- file: “no main manifest attribute”

后端 未结 30 1902
不知归路
不知归路 2020-11-21 22:30

I have installed an application, when I try to run it (it\'s an executable jar) nothing happens. When I run it from the commandline with:

java -jar \

30条回答
  •  余生分开走
    2020-11-21 22:48

    Just to make one point clear about

    Main-Class: .
    

    If you don't have package you have to ignore that part, like this:

    Main-Class: 
    

提交回复
热议问题