There's a nice process to use a remote debugger described at Stack-Overflow: java.io.Console support in Eclipse IDE - Stack Overflow

If you just want to run the program and not debug it, use the...