Change JAVA_HOME and disable M2_HOME