JAVA_HOME detection added (piggyback on Maven)