Setting JAVA_HOME.