Add error message when java not found.