Accepted answer

1.) right-click on project, select pop-up menu entry "export...".

pop-up menu -> export

2.) select "java -> runnable jar file".

enter image description here

3.) choose a working launch configuration for running your program via java -jar myexecutable.jar from the command line later. select an output folder and file name. select "package required libraries into generated jar".

enter image description here

Related Query

More Query from same tag