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
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.