What command in Java will let you clear the console in a command-line application?
If none of the above solutions works for you( as in my case ), try this solution:
new ProcessBuilder("cmd", "/c", "cls").inheritIO().start().waitFor();
I'm using Windows 8 and this solution worked for me. Hope it does to you as well. :)