add JAVA_HOME and remove mercurial plugin