I want to do is clear the console
Hi, All I want to do is clear the console buffer (example "cls in Windows, "clear" in Unix).
I've googled this quite a bit and found nothing useful.
Sun's forums are completely useless, there are about 20 threads asking the same question and the only replies are to put in a loop with a bunch of System.out.println(). There is another "solution" but it's a nasty hack that involves editing system files (and thus makes it difficult to distribute my application!).
I'm just not convinced that there's "no way to do it."
Does ANYONE know how to clear the console??!