Just for the Curiosity,can we print the output from eclipse console to command prompt,like I know there is a set.out method,but don't know hot to do it exactly.Is there a possible way ?
Using setOut method,to a different console and not to a file
Just for the Curiosity,can we print the output from eclipse console to command prompt,like I know there is a set.out method,but don't know hot to do it exactly.Is there a possible way ?
Using setOut method,to a different console and not to a file
You can redirect eclipse console output to a file (like this : How can we redirect a Java program console output to multiple files?) and, in another console window, from outside eclipse, you can (linux/cygwin) do something like tail -f on this file.
Notice that this does not mean eclipse will listen to what you type in your external console window.