added JAVA_HOME environment variable