How to create executable .jar file with netbeans

前端 未结 6 556
无人共我
无人共我 2021-01-18 08:33

I\'d like to make \"double-click\" cli application but still don\'t get how. I know I should propably somehow edit manifest but that is all. I googled ofc. but no success. T

6条回答
  •  暖寄归人
    2021-01-18 08:55

    Open the JAR file with a ZIP tool (or try less ... if you're on Linux or jar tvf ...). Make sure there is a directory semestralwork in there which contains a file Main.class.

提交回复
热议问题