How to create executable .jar file with netbeans

前端 未结 6 621
无人共我
无人共我 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:57

    The default class search path may be the issue. You should try changing directory to the location the jar is and launching with java -jar Semestral.jar. Also you may have misnamed the main class. Please also include your package structure.

提交回复
热议问题