I have a working Java program written in Eclipse on the Mac (OS X Sierra). It runs inside of Eclipse, and the input and output is handled in the default Eclipse console.

What's the best way to "export" or "compile" it so that I have a clickable icon on the Mac desktop which I can run (without having Eclipse open)?

Is it to create a *.jar file? (I actually downloaded a game which is a *.jar file, and I double click it, and it runs.) I tried using the Eclipse "export" feature to create a runnable Jar file but got errors.

Or is it to create an *.app file? I did the first couple of steps (from a tutorial) to try to create a "product" but got totally lost...

Or is there a preferable third way I don't know about?

Simple is right! (If possible...)

Thanks!

--PDN