I am working on a cli java application. And one of my options is to build a jar file. But I don't know how to start this. I can't find a example on the internet.
I know how to build a jar file and to execute it in the command line. I already searched on youtube and internet but I can't find a example on how to do this.
I expected to build a jar file with a java cli application. For example the users enters the option to build the jar file and in the same directory there is a jar file made by classes of the cli application.