export JAVA_HOME environment variable.