JAVA_HOME environment variables are set appropriately