System.setOut(new PrintStream("c:/test.txt")); System.out.println("****************************************************");