How do i get the output of java compiler error messages?