Fix bug to find java files.