also set JAVA_HOME variable