Clearing console screen.
Is there an easy and multi-platform safe way to clear the console screen in Java?
I mean, without using JNI, without making a for statement call System.out.println() several times or without using Runtime.exec().
I took a look into Google and found no satisfactory answers. It's hard to believe that java does not have an object or static function that clears the console screen automatically.
I mean, without using JNI, without making a for statement call System.out.println() several times or without using Runtime.exec().
I took a look into Google and found no satisfactory answers. It's hard to believe that java does not have an object or static function that clears the console screen automatically.
