<commit_before>. $PSScriptRoot\Get-ISHServerFolderPath.ps1

function Install-ISHToolJAVA 
{
    # http://docs.sdl.com/LiveContent/content/en-US/SDL%20Knowledge%20Center%20full%20documentation-v2/GUID-D385255A-3644-485A-9B76-2D8695C0F000
    $fileNames=@("jre-8u60-windows-x64.exe","jdk-8u60-windows-x64.exe")
    $arguments=@(
        /s
    )

    foreach($fileName in $fileNames)
    {
        $filePath=Join-Path (Get-ISHServerFolderPath) $fileName

        Write-Debug "Installing $filePath"
        Start-Process $filePath -ArgumentList $arguments -Wait -Verb RunAs
        Write-Verbose "Installed $fileName"
    }
}<commit_msg>When installing, the JAVA_HOME environment variable is set<commit_after>. $PSScriptRoot\Get-ISHServerFolderPath.ps1

function Install-ISHToolJAVA 
{
    # http://docs.sdl.com/LiveContent/content/en-US/SDL%20Knowledge%20Center%20full%20documentation-v2/GUID-D385255A-3644-485A-9B76-2D8695C0F000
    $fileNames=@("jre-8u60-windows-x64.exe","jdk-8u60-windows-x64.exe")
    $arguments=@(
        /s
    )

    foreach($fileName in $fileNames)
    {
        $filePath=Join-Path (Get-ISHServerFolderPath) $fileName

        Write-Debug "Installing $filePath"
        Start-Process $filePath -ArgumentList $arguments -Wait -Verb RunAs
        Write-Verbose "Installed $fileName"
    }

    [Environment]::SetEnvironmentVariable("JAVA_HOME", "C:\Program Files\Java\jre1.8.0_60", "Machine")
}
{'fraction_non_alphanumeric': 0.1333803810868031, 'fraction_numerical': 0.06704304869442484, 'mean_word_length': 3.633986928104575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6264632', 'n_tokens_mistral': 575, 'n_tokens_neox': 514, 'n_words': 65}