exporting JAVA_HOME if not set