Virtual-environments: Bring back JDK 11 on vs2017-win2016 version

Created on 15 May 2020  路  6Comments  路  Source: actions/virtual-environments

Tool information

  • Tool name: Azure JDK
  • Add or update? "bring back"
  • Desired version: version 11
    C:\Program Files\Java\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64

Area for Triage:
Java

Question, Bug, or Feature?:
Feature

Virtual environments affected

  • [ ] macOS 10.15
  • [ ] Ubuntu 16.04 LTS
  • [ ] Ubuntu 18.04 LTS
  • [ X] Windows Server 2016 R2
  • [ ] Windows Server 2019

Hi,

Can you please bring back JDK 11 on win2016-vs2017 hosted image please ? It has broke our pipeline, and this will remain consistent with the version currently available on windows-latest image.

Thanks in advance.

Java Windows bug

Most helpful comment

@ThadHouse @mickael-caro-sonarsource both win19 and win16 images have been deployed. Java11 is on its place 馃榾I'm closing the issue, but feel free to ping me if you have any concerns.

All 6 comments

@mickael-caro-sonarsource , thank you for your report. It is not expected because we didn't remove it from the images.
At the first look, it seems that Java 11 is still installed but $env:JAVA_HOME_11_X64 variable points to C:\Program Files\Java\zulu-13-azure-jdk_13.31.11-13.0.3-win_x64
We are looking at it

This issue was caused by #795 PR. We are preparing the fix and will rollout it early next week.
As a workaround, you can use full path to point to Java C:\Program Files\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64 or add Java Tool Installer task / setup-java

Thanks for your prompt reply ! I'll try to test the workaround.

Same bug is happening on windows-2019 too. Just want to make sure its fixed there as well.

@ThadHouse yeah, the installation script is the same for both Windows version. We're going to start image deployment with the fix today.

@ThadHouse @mickael-caro-sonarsource both win19 and win16 images have been deployed. Java11 is on its place 馃榾I'm closing the issue, but feel free to ping me if you have any concerns.

Was this page helpful?
0 / 5 - 0 ratings