How to create executable .jar file with netbeans

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

    Since I encountered the same problem, I can clarify the solution a little bit.

    You must create main Java class outside your method (for example-default_package folder), and then invoke your method(folder), e.g import your_folder.connected_class; in that main class.

    Hopefully I could help someone with the same problem.

提交回复
热议问题