how to clear the page result in java code example Example: java clear console Runtime.getRuntime().exec("cls");