make sure to export JAVA_HOME