Pipelines/Steps/Install/OnPrem/Solr/Install-Prerequisites.ps1

$ErrorActionPreference = "Stop"

function InstallJRE {
    choco upgrade jre8 -PackageParameters "/exclude:32" -y --limitoutput
    RefreshEnvironment
}

Write-Output "Configuring Solr Prerequisites..."
InstallJRE
Write-Output "Configuring Solr Prerequisites done."