Use JAVA_HOME variable for tags.