Try these

System.out.println("/033"); [Source]

System.out.println ((char)27 + "[2J");[Source]