Skip to content

Commit 7462f4b

Browse files
committed
Set JAVA on Path in Azure pipelines
1 parent 05889a7 commit 7462f4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eng/scripts/InstallJdk.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ mkdir (split-path -parent $env:JAVA_HOME) -ea ignore | out-null
2525
Write-Host "Installing JDK to $env:JAVA_HOME"
2626
Move-Item "$tempDir/jdk/jdk-${jdkVersion}" $env:JAVA_HOME
2727
Write-Host "Done installing JDK to $env:JAVA_HOME"
28+
Write-Host "##vso[task.prependpath]$env:JAVA_HOME;"
29+
Write-Host $env:Path;

0 commit comments

Comments
 (0)