Find .java files and java.home properly.