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